/* ============================================
   ENTERPRISE CONTACT MODAL
   assets/css/enterprise_modal.css
   ============================================ */

   .enterprise-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.enterprise-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.enterprise-modal {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(16px);
    transition: transform 0.2s ease;
}

.enterprise-overlay.open .enterprise-modal {
    transform: translateY(0);
}

/* Header */
.enterprise-modal-header {
    padding: 24px 26px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 6px;
}

.enterprise-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 50px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.enterprise-tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #16a34a;
    display: inline-block;
}

.enterprise-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.4px;
}

.enterprise-modal-subtitle {
    font-size: 13.5px;
    color: #555;
    margin-top: 4px;
    line-height: 1.5;
}

.enterprise-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    color: #555;
    flex-shrink: 0;
    margin-left: 12px;
    transition: background 0.12s;
}

.enterprise-close-btn:hover {
    background: #ebebeb;
}

/* Divider */
.enterprise-modal-divider {
    height: 1px;
    background: #efefef;
    margin: 16px 26px;
}

/* Body */
.enterprise-modal-body {
    padding: 0 26px 26px;
}

/* Form layout */
.enterprise-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.enterprise-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.enterprise-fl {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.enterprise-fi {
    width: 100%;
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #222;
    outline: none;
    transition: border-color 0.12s, background 0.12s;
    appearance: none;
    -webkit-appearance: none;
}

.enterprise-fi::placeholder {
    color: #bbb;
}

.enterprise-fi:focus {
    border-color: #302f2f;
    background: #fff;
}

select.enterprise-fi {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-color: #fafafa;
    padding-right: 32px;
}

select.enterprise-fi:focus {
    background-color: #fff;
}

.enterprise-textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}

/* Submit button */
.enterprise-submit-btn {
    width: 100%;
    background: #302f2f;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.12s;
    margin-top: 4px;
    letter-spacing: -0.2px;
}

.enterprise-submit-btn:hover {
    opacity: 0.85;
}

.enterprise-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer note */
.enterprise-note {
    font-size: 12px;
    color: #bbb;
    text-align: center;
    margin-top: 12px;
    line-height: 1.6;
}

/* Success state */
.enterprise-success {
    padding: 44px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.enterprise-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #16a34a;
    font-weight: 700;
}

.enterprise-success-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.3px;
}

.enterprise-success-sub {
    font-size: 13.5px;
    color: #555;
    line-height: 1.6;
    max-width: 340px;
}

/* Mobile */
@media (max-width: 540px) {
    .enterprise-form-row {
        grid-template-columns: 1fr;
    }
    .enterprise-modal-header {
        padding: 20px 18px 0;
    }
    .enterprise-modal-body {
        padding: 0 18px 20px;
    }
    .enterprise-modal-divider {
        margin: 14px 18px;
    }
}