/* ============================================
   SOCIAL CIRCLE AGENCY - MAIN STYLESHEET
   ============================================ */

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

:root {
    /* Social Circle Brand Colors */
    --brand-gold: #E3C16E;
    --brand-gold-hover: #CFAF60;
    --brand-white: #FFFFFF;
    --brand-black: #000000;

    /* Updated Color Palette with Social Circle Colors */
    --primary: #E3C16E;
    --primary-dark: #CFAF60;
    --secondary: #2C2C2C;
    --accent: #1F4F5B;
    --accent-alt: #D97642;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #1F4F5B;
    --dark: #2C2C2C;
    --light: #FAFAFA;
    --gray: #6b7280;
    --border: #e5e7eb;
    --border-light: rgba(227, 193, 110, 0.2);

    /* Text Colors */
    --text-primary: #2C2C2C;
    --text-muted: #6b7280;
    --text-light: #9ca3af;

    /* Background Colors */
    --background: #FAFAFA;
    --surface: #FFFFFF;

    /* Transition */
    --transition: all 0.3s ease;

    /* Border Radius */
    --border-radius-lg: 16px;

    /* Social Circle Brand Gradients */
    --gradient: linear-gradient(135deg, #E3C16E 0%, #CFAF60 100%);
    --gradient-hero: linear-gradient(135deg, #1F4F5B 0%, #2C2C2C 100%);
    --gradient-blue: linear-gradient(135deg, #E3C16E 0%, #CFAF60 100%);
    --gradient-green: linear-gradient(135deg, #1F4F5B 0%, #2C7A7B 100%);
    --gradient-purple: linear-gradient(135deg, #D97642 0%, #B45309 100%);
    --gradient-accent: linear-gradient(135deg, #1F4F5B 0%, #2C2C2C 100%);

    /* Shadows and Layout */
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-brand: 0 10px 25px -5px rgba(227, 193, 110, 0.3);
    --border-radius: 12px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    max-width: 100vw;
}

/* ============================================
   SOCIAL CIRCLE SWEETALERT BRANDING
   ============================================ */

/* SweetAlert2 Container */
.swal2-container {
    backdrop-filter: blur(10px);
    background: rgba(44, 44, 44, 0.8) !important;
}

/* SweetAlert2 Popup */
.swal2-popup {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.95)) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(227, 193, 110, 0.3) !important;
    border-radius: 1rem !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(255, 255, 255, 0.05) inset,
                0 10px 15px -3px rgba(227, 193, 110, 0.1) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    padding: 2rem !important;
    max-width: 32rem !important;
    width: 90vw !important;
}

/* SweetAlert2 Title */
.swal2-title {
    color: var(--dark) !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
}

/* SweetAlert2 HTML Container */
.swal2-html-container {
    color: var(--text-muted) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin: 1rem 0 !important;
}

/* SweetAlert2 Icons */
.swal2-icon {
    border: none !important;
    margin: 1rem auto !important;
}

.swal2-icon.swal2-success {
    color: #10b981 !important;
    border-color: #10b981 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.swal2-icon.swal2-success .swal2-success-fix {
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.swal2-icon.swal2-error {
    color: var(--danger) !important;
    border-color: var(--danger) !important;
}

.swal2-icon.swal2-warning {
    color: var(--warning) !important;
    border-color: var(--warning) !important;
}

.swal2-icon.swal2-info {
    color: var(--accent) !important;
    border-color: var(--accent) !important;
}

.swal2-icon.swal2-question {
    color: var(--accent) !important;
    border-color: var(--accent) !important;
}

/* SweetAlert2 Actions */
.swal2-actions {
    gap: 1rem !important;
    margin: 2rem 0 0 0 !important;
}

/* SweetAlert2 Confirm Button (Primary) */
.swal2-confirm {
    background: var(--gradient) !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    min-width: 120px !important;
}

.swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
    background: var(--gradient) !important;
}

.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(227, 193, 110, 0.3) !important;
}

/* SweetAlert2 Cancel Button (Secondary) */
.swal2-cancel {
    background: var(--surface) !important;
    border: 2px solid var(--border-light) !important;
    border-radius: var(--border-radius) !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    min-width: 120px !important;
}

.swal2-cancel:hover {
    background: #f1f5f9 !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow) !important;
}

.swal2-cancel:focus {
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.2) !important;
}

/* SweetAlert2 Deny Button (Danger) */
.swal2-deny {
    background: var(--gradient-accent) !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    min-width: 120px !important;
}

.swal2-deny:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.swal2-deny:focus {
    box-shadow: 0 0 0 3px rgba(31, 79, 91, 0.3) !important;
}

/* SweetAlert2 Progress Steps */
.swal2-progress-steps {
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.swal2-progress-step {
    background: var(--gradient) !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 50% !important;
    width: 2rem !important;
    height: 2rem !important;
    line-height: 2rem !important;
}

.swal2-progress-step.swal2-active-progress-step {
    background: var(--gradient-accent) !important;
}

/* SweetAlert2 Input */
.swal2-input,
.swal2-textarea,
.swal2-select {
    border: 2px solid var(--border) !important;
    border-radius: var(--border-radius) !important;
    padding: 0.75rem !important;
    font-size: 1rem !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    transition: all 0.3s ease !important;
    background: white !important;
}

.swal2-input:focus,
.swal2-textarea:focus,
.swal2-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(227, 193, 110, 0.1) !important;
    outline: none !important;
}

/* SweetAlert2 Validation Message */
.swal2-validation-message {
    background: rgba(239, 68, 68, 0.1) !important;
    color: var(--danger) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    border-radius: var(--border-radius) !important;
    padding: 0.75rem !important;
    font-weight: 500 !important;
}

/* SweetAlert2 Toast */
.swal2-toast {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.95)) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(227, 193, 110, 0.3) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 0 0 1px rgba(255, 255, 255, 0.05) inset,
                0 8px 10px -6px rgba(227, 193, 110, 0.1) !important;
}

.swal2-toast .swal2-title {
    color: var(--dark) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.swal2-toast .swal2-html-container {
    color: var(--text-muted) !important;
    font-size: 0.9rem !important;
}

/* SweetAlert2 Timer Progress Bar */
.swal2-timer-progress-bar {
    background: var(--gradient) !important;
    height: 4px !important;
}

/* Dark Mode Adjustments for SweetAlert */
@media (prefers-color-scheme: dark) {
    .swal2-popup {
        background: linear-gradient(145deg, rgba(31, 41, 55, 0.98), rgba(17, 24, 39, 0.95)) !important;
        border: 1px solid rgba(227, 193, 110, 0.4) !important;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
                    0 0 0 1px rgba(227, 193, 110, 0.1) inset,
                    0 10px 15px -3px rgba(227, 193, 110, 0.15) !important;
    }
    
    .swal2-title {
        color: var(--light) !important;
    }
    
    .swal2-html-container {
        color: #d1d5db !important;
    }
    
    .swal2-input,
    .swal2-textarea,
    .swal2-select {
        background: rgba(55, 65, 81, 0.8) !important;
        border-color: rgba(107, 114, 128, 0.5) !important;
        color: var(--light) !important;
    }
}
