.devices-card {
    height: 100%;
    padding: 20px;
    box-shadow: 1px 1px 13px 0px #00000052;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.devices-card .devices-filter {
    margin: 15px 0 0;
}

.devices-filter md-input-container {
    width: 100%;
}

.devices-card .devices-management {
    flex-grow: 1;
    display: flex;
}

.devices-management .devices-list {
    flex: 1;
    margin-right: 10px;
    display: flex;
    overflow: auto;
}

.devices-list .devices-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    min-height: min-content;
}

.devices-list .devices-chip,
.devices-list .devices-removed-chip {
    border-radius: 5px;
    padding: 5px 8px;
    margin: 10px;
    transition: all 0.4s;
    display: flex;
    align-items: center;
}

.devices-list .devices-chip {
    border: 2px solid #999999;
    background-color: white;
    color: #999999;

}

.devices-list .devices-removed-chip {
    border: 2px solid #FB848F;
    background-color: #FB848F;
    color: white;
}

.devices-chip .devices-serial-number,
.devices-removed-chip .devices-serial-number {
    padding: 0 12px 0 6px;
    font-size: 18px;
}

.devices-chip .devices-serial-number {
    border-right: 1px solid #999999;
}

.devices-removed-chip .devices-serial-number {
    border-right: 1px solid white;
}

.devices-chip .icon-add-remove,
.devices-removed-chip .icon-add-remove {
    font-size: 20px;
    padding: 0px 6px 0px 12px;
    cursor: pointer;
}

.devices-chip .icon-add-remove {
    color: #FC848F;
}

.devices-chip .icon-add-remove svg {
    fill: #FC848F;
}

.devices-removed-chip .icon-add-remove {
    color: white;
}

.devices-removed-chip .icon-add-remove svg {
    fill: white;
}

.devices-management .devices-form {
    background-color: #EFF9FF;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.device-form.drag-over {
    background-color: #E2F4FF;
}

.devices-form .devices-form-header {
    margin: 25px 15px 15px;
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.devices-form .devices-form-header h4 {
    margin: 0 40px 0 0;
    color: #76CEFF;
    font-weight: bold;
    text-align: center;
}

.devices-form .devices-form-header .icon-info svg{
    fill: #76CEFF;
}

.devices-form .devices-form-body {
    height: 85%;
    position: relative;
    display: flex;
}

.devices-form-body .input-serial-number-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-150%, -50%);
    opacity: 1;
    transition: all 0.4s;
}

.devices-form-body .input-serial-number-icon-hidden {
    opacity: 0;
}

.devices-form-body .input-serial-number-icon md-icon {
    width: 50px;
    height: 50px;
}

.devices-form-body .input-serial-number {
    flex-grow: 1;
}

.devices-form-body .input-serial-number textarea  {
    height: 100%;
    width: 100%;
    font-size: 50px;
    line-height: 60px;
    color: #76CEFF;
    text-align: center;
    font-weight: bold;
    padding: 0 20px;
    background-color: transparent;

    border: none;
    outline: none;
    box-shadow: none;
    resize: none;
}

.duplicated-error-message {
    margin-top: 10px;
    color: red;
}

.devices-card .button-remove {
    align-self: flex-end;
    margin: 15px 0 0;
    color: #FC848F;
    border: 2px solid #FC848F;
    border-radius: 5px;
}

@media screen and (max-height: 768px) {
    .devices-form .devices-form-header {
        height: 25%;
        margin: 10px 5px 5px;
    }

    .devices-form .devices-form-header h4 {
        font-size: 18px;
        margin-right: 30px;
    }

    .devices-form .devices-form-body {
        height: 75%;
    }
}