.oms2-custom-label-creation-button {
    margin: 0;
    height: 36px;
    padding: 0 16px;
}

    .oms2-custom-label-creation-button md-icon {
        margin-right: 6px;
        font-size: 1.4em;
    }

.oms2-custom-label-dialog {
    width: 520px;
    max-width: 90vw;
    max-height: none;
}

    .oms2-custom-label-dialog md-dialog-content {
        max-height: none;
        overflow: visible;
    }

    .oms2-custom-label-dialog md-input-container {
        margin: 4px 0;
        padding-right: 8px;
        box-sizing: border-box;
    }

        .oms2-custom-label-dialog md-input-container.carrier-select {
            margin-bottom: 25px;
        }

    .oms2-custom-label-dialog md-optgroup label {
        font-weight: 600;
    }

.custom-label-carrier-section {
    position: relative;
    width: 100%;
}

.custom-label-carrier-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 8px;
    bottom: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.7);
    pointer-events: none;
}

.custom-label-error {
    width: 100%;
    margin-bottom:20px;
    padding: 10px 12px;
    border-radius: 4px;
    background: #fdecea;
    color: #b71c1c;
    font-size: 13px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.custom-label-print-action {
    min-width: 88px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-label-print-spinner {
    width: 88px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .oms2-custom-label-dialog-content {
        min-width: auto;
    }

    .oms2-custom-label-dialog md-input-container[flex="50"] {
        min-width: 100%;
    }
}


.md-dialog-container .oms2-custom-label-dialog {
    position: fixed !important;
    left: 250px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}