﻿/* Start Free Access / Client Enquiry modal (shared by Landing + Login) */
.mo-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

    .mo-overlay.show {
        display: flex;
    }

.ce-modal {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
}

.ce-head {
    background: linear-gradient(90deg, #2563EB, #14B8A6);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ce-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.ce-close {
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

    .ce-close:hover {
        background: rgba(255,255,255,.28);
    }

.ce-body {
    padding: 22px;
}

.ce-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 480px) {
    .ce-row {
        grid-template-columns: 1fr;
    }
}

.ce-field {
    margin-bottom: 14px;
}

.ce-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.ce-req {
    color: #EF4444;
}

.ce-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    outline: none;
    font-family: inherit;
    transition: border-color .15s;
}

    .ce-input:focus {
        border-color: #2563EB;
        box-shadow: 0 0 0 3px rgba(37,99,235,.12);
    }

.field-error {
    color: #EF4444;
    font-size: 12px;
    margin-top: 4px;
}

.ce-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 22px;
    border-top: 1px solid #eee;
    background: #f9fafb;
}

.ce-btn-cancel {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

    .ce-btn-cancel:hover {
        background: #f3f4f6;
    }

.ce-btn-save {
    background: linear-gradient(90deg, #2563EB, #14B8A6);
    border: none;
    color: #fff;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .ce-btn-save:hover {
        opacity: .92;
    }

    .ce-btn-save:disabled {
        opacity: .6;
        cursor: not-allowed;
    }
