/* ============================================================
   ConnectHub SIMS — Schedule Meeting Modal & Zoom Invitation Styles
   ============================================================ */

.sch-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    font-size: 14px;
    color: #1E293B;
}

.sch-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sch-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 600px) {
    .sch-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.sch-label-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sch-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
}

.sch-icon {
    font-size: 13px;
    color: #044E27;
}

.sch-help-icon {
    font-size: 14px;
    color: #FAA31B;
    cursor: help;
    transition: transform 0.2s ease;
}

.sch-help-icon:hover {
    transform: scale(1.15);
}

.sch-required {
    color: #DC2626;
    font-size: 12px;
}

.sch-input {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    margin: 0;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: #0F172A;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
    transition: all 0.2s ease;
}

.sch-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23044E27'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
    appearance: none;
    -webkit-appearance: none;
}

.sch-textarea {
    min-height: 64px;
    resize: vertical;
    line-height: 1.4;
}

.sch-input::placeholder {
    color: #94A3B8;
}

.sch-input:focus {
    border-color: #044E27;
    box-shadow: 0 0 0 3px rgba(4, 78, 39, 0.15);
}

.sch-hint {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #64748B;
}

/* SweetAlert2 Popup Overrides for SIMS Swiss styling */
.sch-popup {
    border-radius: 18px !important;
    background: #FFFFFF !important;
    color: #0F172A !important;
    box-shadow: 0 20px 40px -15px rgba(4, 78, 39, 0.2) !important;
    padding: 24px 28px !important;
    max-width: 640px !important;
    width: 95% !important;
}

.sch-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #044E27 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 0 16px 0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
    margin-bottom: 20px !important;
}

.sch-btn-primary {
    background: #044E27 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(4, 78, 39, 0.25) !important;
    transition: all 0.2s ease !important;
}

.sch-btn-primary:hover {
    background: #033A1D !important;
    transform: translateY(-1px) !important;
}

.sch-btn-cancel {
    background: #F1F5F9 !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}

.sch-btn-cancel:hover {
    background: #E2E8F0 !important;
    color: #0F172A !important;
}

/* ============================================================
   Zoom-Style Event Details Card & Invitation Popup Box
   ============================================================ */

.zoom-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 20px;
    text-align: left;
    margin-top: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.zoom-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.zoom-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ECFDF5;
    color: #044E27;
    border: 1px solid rgba(4, 78, 39, 0.2);
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.zoom-recurrence-badge {
    background: #FFFBEB;
    color: #92400E;
    border: 1px solid #FCD34D;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

.zoom-field-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.zoom-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.zoom-field-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748B;
    letter-spacing: 0.05em;
}

.zoom-field-value {
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: break-all;
}

.zoom-code-pill {
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    padding: 3px 8px;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-weight: 700;
    color: #044E27;
    font-size: 14px;
}

/* Copy Invitation Box */
.zoom-invitation-box {
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    padding: 14px;
    margin: 16px 0;
    max-height: 160px;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
    white-space: pre-wrap;
    user-select: all;
}

/* Action Button Grid in Zoom Details */
.zoom-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.zoom-btn-copy {
    background: #044E27;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    grid-column: span 2;
    box-shadow: 0 4px 12px rgba(4, 78, 39, 0.2);
}

.zoom-btn-copy:hover {
    background: #033A1D;
    transform: translateY(-1px);
}

.zoom-btn-cal {
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.zoom-btn-cal:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
}

.zoom-btn-link {
    grid-column: span 2;
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    color: #044E27;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.zoom-btn-link:hover {
    text-decoration: underline;
}

/* Animated Toast */
.sch-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #044E27;
    color: #FFFFFF;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    animation: schSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes schSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
