/*
 * LolaChops Customer Manager
 * Staff Form Styles
 */


/* =========================================
   MAIN CONTAINER
   ========================================= */

.lcm-customer-manager {

    width: 100%;
    max-width: 650px;

    margin: 30px auto;
    padding: 30px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    box-shadow:
        0 8px 25px rgba(
            0,
            0,
            0,
            0.08
        );

    box-sizing: border-box;

}


/* =========================================
   FORM
   ========================================= */

.lcm-customer-form {

    width: 100%;

}


/* =========================================
   FORM FIELD
   ========================================= */

.lcm-field {

    margin-bottom: 20px;

}


/* =========================================
   LABEL
   ========================================= */

.lcm-field label {

    display: block;

    margin-bottom: 8px;

    font-size: 15px;

    font-weight: 600;

    line-height: 1.4;

}


/* Required indicator */

.lcm-field label span {

    color: #d63638;

    margin-left: 3px;

}


/* =========================================
   INPUTS
   ========================================= */

.lcm-field input {

    display: block;

    width: 100%;

    min-height: 48px;

    padding: 12px 14px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    background: #ffffff;

    font-size: 16px;

    line-height: 1.4;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


/* Input focus */

.lcm-field input:focus {

    outline: none;

    border-color: #2271b1;

    box-shadow:
        0 0 0 3px
        rgba(
            34,
            113,
            177,
            0.15
        );

}


/* Placeholder */

.lcm-field input::placeholder {

    color: #9ca3af;

}


/* =========================================
   SAVE CUSTOMER BUTTON
   ========================================= */

.lcm-submit {

    display: block;

    width: 100%;

    min-height: 50px;

    padding: 12px 20px;

    border: none;

    border-radius: 8px;

    background: #2271b1;

    color: #ffffff;

    font-size: 16px;

    font-weight: 600;

    line-height: 1.4;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.1s ease;

}


/* Hover */

.lcm-submit:hover {

    background: #135e96;

}


/* Click */

.lcm-submit:active {

    transform: translateY(1px);

}


/* Disabled */

.lcm-submit:disabled {

    opacity: 0.65;

    cursor: not-allowed;

}


/* =========================================
   GENERAL MESSAGE BOX
   ========================================= */

.lcm-message {

    margin-bottom: 20px;

    padding: 15px 16px;

    border-radius: 8px;

    font-size: 15px;

    line-height: 1.6;

}


/* Success */

.lcm-message.lcm-success {

    background: #ecfdf3;

    border: 1px solid #a7f3d0;

    color: #065f46;

}


/* Warning */

.lcm-message.lcm-warning {

    background: #fffbeb;

    border: 1px solid #fcd34d;

    color: #92400e;

}


/* Error */

.lcm-message.lcm-error {

    background: #fef2f2;

    border: 1px solid #fecaca;

    color: #991b1b;

}


/* =========================================
   PHONEBOOK DOWNLOAD AREA
   ========================================= */

.lcm-phonebook-download {

    margin-top: 24px;

    padding-top: 20px;

    border-top: 1px solid #e5e7eb;

}


/* =========================================
   PHONEBOOK DOWNLOAD BUTTON
   ========================================= */

.lcm-download-phonebook {

    display: block;

    width: 100%;

    min-height: 48px;

    padding: 12px 20px;

    border: 1px solid #2271b1;

    border-radius: 8px;

    background: #ffffff;

    color: #2271b1;

    font-size: 16px;

    font-weight: 600;

    line-height: 1.4;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.1s ease;

}


/* Hover */

.lcm-download-phonebook:hover {

    background: #2271b1;

    color: #ffffff;

}


/* Click */

.lcm-download-phonebook:active {

    transform: translateY(1px);

}


/* Disabled */

.lcm-download-phonebook:disabled {

    opacity: 0.65;

    cursor: not-allowed;

}


/* =========================================
   PHONEBOOK MESSAGE
   ========================================= */

.lcm-phonebook-message {

    margin-top: 15px;

    padding: 14px 16px;

    border-radius: 8px;

    font-size: 14px;

    line-height: 1.6;

}


/* Success */

.lcm-phonebook-message.lcm-success {

    background: #ecfdf3;

    border: 1px solid #a7f3d0;

    color: #065f46;

}


/* Warning */

.lcm-phonebook-message.lcm-warning {

    background: #fffbeb;

    border: 1px solid #fcd34d;

    color: #92400e;

}


/* Error */

.lcm-phonebook-message.lcm-error {

    background: #fef2f2;

    border: 1px solid #fecaca;

    color: #991b1b;

}


/* =========================================
   MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 600px) {

    .lcm-customer-manager {

        margin: 20px 10px;

        padding: 20px;

        border-radius: 10px;

    }


    .lcm-field input {

        font-size: 16px;

    }


    .lcm-submit {

        min-height: 48px;

    }


    .lcm-download-phonebook {

        min-height: 48px;

    }

}