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

/* Image Upload Styles */
.image-preview {
    margin-top: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    display: block;
    margin-bottom: 8px;
}

.btn-remove-image {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-remove-image:hover {
    background: #c82333;
}

.current-image {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.current-image img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    display: block;
}

input[type="file"] {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input[type="file"]:hover {
    border-color: #8B5CF6;
}

input[type="file"]:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Make file input label more prominent */
.form-group label[for="eventImage"],
.form-group label[for="editEventImage"] {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff !important;
    background-color: #ffffff !important;
    min-height: 100vh;
    color: #333333;
    margin: 0;
    padding: 0;
}

/* Page Layout */
.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffffff !important;
    background-color: #ffffff !important;
    width: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin: 0 auto;
    text-align: center;
    opacity: 1;
}

/* Login Container */
.login-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    border: 1px solid #e0e0e0;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
    margin: 0 auto;
    display: block;
}

.login-container.show {
    opacity: 1;
    transform: translateY(0);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container {
    margin-bottom: 20px;
}

.brain-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brain-logo img {
    width: 80px;
    height: 80px;
    opacity: 0.9;
}

.login-header h1 {
    color: #333;
    font-size: 1.75rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.title-underline {
    height: 3px;
    background: #8B5CF6;
    width: 200px;
    margin: 0 auto 16px;
    border-radius: 2px;
}

.subtitle-text {
    color: #666;
    font-size: 0.875rem;
    margin: 0;
    padding-bottom: 24px;
}

/* Tabs - Match app style */
.login-tabs {
    display: flex;
    margin-bottom: 24px;
    background: #f2f2f7;
    border-radius: 12px;
    padding: 4px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex: 1;
    position: relative;
}

.tab-btn.active {
    background: white;
    color: #8B5CF6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover:not(.active) {
    color: #8B5CF6;
}

.admin-tab {
    color: #e74c3c;
}

.admin-tab:hover {
    color: #c0392b;
}

/* Forms */
.login-form {
    display: block;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.login-form.show {
    opacity: 1;
    transform: translateX(0);
}

.form-group {
    margin-bottom: 20px;
}

/* Divider for "OR" between login methods */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider span {
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Google Sign-In Container */
.google-signin-container {
    width: 100%;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Google Sign-In Button - Match app style */
.btn-google {
    background: white;
    color: #000;
    border: 1px solid #d1d1d6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 12px;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #d1d1d6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-google img {
    width: 22px;
    height: 22px;
}

/* Apple Sign-In Button Container */
.apple-signin-container {
    width: 100%;
    margin-bottom: 12px;
}

.apple-signin-container button {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apple-signin-container button[data-theme="light"] {
    background: #000;
    color: white;
}

.apple-signin-container button[data-theme="dark"] {
    background: white;
    color: #000;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #ddd;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: #8B5CF6;
    color: white;
    width: 100%;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover:not(:disabled) {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-success {
    background: #28a745;
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.btn-success:hover:not(:disabled) {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
}

.btn-success:active:not(:disabled) {
    transform: translateY(0);
}

.btn-danger {
    background: #dc3545;
    color: white;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover:not(:disabled) {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
}

.btn-danger:active:not(:disabled) {
    transform: translateY(0);
}

/* Dashboard */
#adminDashboard, #businessDashboard {
    background: #ffffff !important;
    color: #000000 !important;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

#adminDashboard.show, #businessDashboard.show {
    opacity: 1;
    transform: translateY(0);
}

.dashboard-header {
    background: white;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-title h1 {
    color: #000000;
    font-size: 1.8rem;
    margin: 0;
}

.brain-logo-small {
    display: flex;
    align-items: center;
}

.brain-logo-small img {
    width: 60px;
    height: 60px;
    opacity: 0.9;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-content {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    color: #000000;
    transition: all 0.3s ease;
}

/* Stats Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: #8B5CF6;
}

.stat-card h3 {
    font-size: 2rem;
    color: #8B5CF6;
    margin-bottom: 5px;
}

.stat-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Dashboard Actions */
.dashboard-actions {
    margin-bottom: 30px;
}

/* Events Section */
.events-section h2 {
    margin-bottom: 20px;
    color: #333;
}

.events-list {
    display: grid;
    gap: 20px;
}

.event-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #8B5CF6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #8B5CF6;
    transition: width 0.3s ease;
}

.event-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.event-card:hover::before {
    width: 6px;
}

.event-card h3 {
    color: #333;
    margin-bottom: 10px;
}

.event-card p {
    color: #666;
    margin-bottom: 8px;
}

.event-card .event-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
}

.event-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #8B5CF6;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 1px #8B5CF6;
}

/* Admin Content */
.admin-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.business-list,
.event-list {
    display: grid;
    gap: 20px;
}

.business-card,
.event-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.business-card h3 {
    color: #333;
    margin-bottom: 10px;
}

.business-card p {
    color: #666;
    margin-bottom: 8px;
}

.business-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        padding: 20px;
    }
    
    .dashboard-content {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 10px;
    }
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    min-width: 300px;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .login-container {
        padding: 30px 20px;
        margin: 10px;
    }
}

/* Confirmation Page Styles */
.confirmation-content {
    text-align: center;
    margin-top: 30px;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.confirmation-content h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.confirmation-content ul {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 30px;
    color: #666;
    line-height: 1.6;
}

.confirmation-content li {
    margin-bottom: 10px;
}

/* iPhone Specific Styles */
@media (max-width: 480px) {
    .login-container {
        padding: 15px 10px;
        margin: 5px;
        max-width: 95%;
        width: calc(100% - 20px);
    }
}

/* Business status management styles */
.business-status {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.business-status label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.status-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 1rem;
    color: #333;
}

.status-select:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.business-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn-danger:hover {
    background: #c82333;
}

/* Status badge styles */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-in-contract {
    background: #cce5ff;
    color: #004085;
}

.status-on-pause {
    background: #fff3cd;
    color: #856404;
}

.status-contract-ended {
    background: #f8d7da;
    color: #721c24;
}

/* Password Management Styles */
.password-settings {
    max-width: 600px;
    margin: 0 auto;
}

.password-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.password-form h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.password-reset {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
}

.password-reset h3 {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.password-reset p {
    color: #856404;
    margin-bottom: 1rem;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn-warning:hover {
    background: #e0a800;
}

.btn-secondary {
    background: #6b7280;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-info {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: #138496;
}

.btn-success {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: #218838;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Modal styles for business password settings */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    transform: scale(1);
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 1200px;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    margin: 0;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

/* Profile Management Styles */
.profile-settings {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.profile-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.profile-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.profile-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.profile-card p {
    margin-bottom: 0.5rem;
    color: #666;
}

.password-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.password-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.password-section h4 {
    color: #856404;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    color: #8B5CF6;
    border: 1px solid #8B5CF6;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.btn-outline:hover {
    background: #8B5CF6;
    color: white;
}

/* Info grid for better layout */
.info-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.info-item span {
    color: #333;
    font-size: 1rem;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

/* Mobile responsiveness for profile */
@media (max-width: 768px) {
    .profile-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-outline {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .modal-content {
        width: 98%;
        max-height: 98vh;
    }
}

/* Company Picture Styles */
.company-picture-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.company-picture-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.picture-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.current-picture {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.current-picture img {
    display: block;
    object-fit: cover;
    border-radius: 6px;
}

.upload-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.upload-controls .btn {
    margin: 0;
}

.event-registration {
    margin: 1rem 0;
    text-align: center;
}

.event-registration a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #8B5CF6;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.event-registration a:hover {
    background: #7C3AED;
    transform: translateY(-2px);
}

/* Analytics Modal Styles */
.analytics-loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #8B5CF6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.analytics-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.analytics-stat-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.analytics-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #8B5CF6;
    margin-bottom: 5px;
}

.analytics-stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.analytics-section {
    margin-bottom: 30px;
}

.analytics-section h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.analytics-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.analytics-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.analytics-item:last-child {
    border-bottom: none;
}

.analytics-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.analytics-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #8B5CF6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.analytics-user-name {
    font-weight: 500;
    color: #333;
}

.analytics-timestamp {
    color: #6c757d;
    font-size: 0.8rem;
}

.analytics-empty {
    text-align: center;
    color: #6c757d;
    padding: 20px;
    font-style: italic;
}

.analytics-user-details {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 2px;
}

.analytics-user-level {
    font-size: 0.75rem;
    color: #8B5CF6;
    font-weight: 500;
    margin-top: 2px;
}

.analytics-professional-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.analytics-level-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #8B5CF6;
}

.analytics-level-name {
    font-weight: 500;
    color: #333;
}

.analytics-level-count {
    font-size: 1.2rem;
    font-weight: bold;
    color: #8B5CF6;
}

/* Clickable User Cards */
.clickable-user-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 12px;
}

.clickable-user-card:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* User Profile Modal Styles */
.user-profile-modal .modal-content {
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.user-profile-content {
    padding: 0;
}

.user-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 2rem;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    border-radius: 12px 12px 0 0;
}

.user-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-fallback {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.user-profile-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.user-profile-title {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.user-profile-company {
    margin: 0 0 4px 0;
    font-size: 1rem;
    opacity: 0.8;
}

.user-profile-location {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.user-profile-details {
    padding: 2rem;
}

.profile-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.profile-section h4 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #8B5CF6;
    padding-bottom: 0.5rem;
}

.profile-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.profile-detail:last-child {
    border-bottom: none;
}

.profile-detail label {
    font-weight: 600;
    color: #666;
    min-width: 150px;
}

.profile-detail span {
    color: #333;
    text-align: right;
}

.profile-bio {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    line-height: 1.6;
    color: #333;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-incomplete {
    background: #f8d7da;
    color: #721c24;
}

/* Mobile responsiveness for user profile */
@media (max-width: 768px) {
    .user-profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .user-profile-avatar {
        width: 60px;
        height: 60px;
    }
    
    .profile-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .profile-detail span {
        text-align: left;
    }
}

/* Ticketing Toggle Styles */
.ticketing-toggle-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    overflow: hidden;
    position: relative;
}

.ticketing-toggle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    width: 100%;
    padding-right: 40px;
}

.ticketing-toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 24px;
}

.ticketing-toggle-label input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background: #d1d5db;
    border-radius: 24px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid #9ca3af;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 1px;
    left: 1px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ticketing-toggle-label input[type="checkbox"]:checked + .toggle-slider {
    background: #10b981;
    border-color: #10b981;
}

.ticketing-toggle-label input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(26px);
}

.ticketing-toggle-text {
    font-weight: 600;
    color: #333;
    cursor: pointer;
    flex: 1;
}

.ticketing-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.toggle-status {
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 25px;
    text-align: center;
    color: #666;
}

.ticketing-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.stripe-required-notice {
    background: #fef3cd;
    border: 1px solid #fbbf24;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    color: #92400e;
    line-height: 1.4;
}

.stripe-requirement-notice {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 0.75rem 0 0 0;
    font-size: 0.9rem;
    color: #dc2626;
    line-height: 1.5;
    border-left: 4px solid #dc2626;
}

.stripe-requirement-notice p {
    margin: 0;
    font-weight: 500;
}

.ticketing-fields {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fee-disclosure {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.fee-disclosure h4 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
}

.fee-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.fee-item:last-child {
    border-bottom: none;
}

.fee-item.total {
    font-weight: 600;
    color: #8B5CF6;
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.fee-note {
    margin: 1rem 0 0 0;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

/* Ticketing Info Display */
.ticketing-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ticketing-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8B5CF6;
    font-weight: 500;
    font-size: 0.9rem;
}

.ticketing-info i {
    color: #8B5CF6;
}

/* Skills, Experience, and Education Styles */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.skill-tag {
    background: #8B5CF6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.experience-list,
.education-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.experience-item,
.education-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.experience-title,
.education-degree {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.experience-company,
.education-institution {
    font-size: 1rem;
    color: #8B5CF6;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.experience-duration,
.education-duration {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.experience-description,
.education-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
}

/* Stripe Integration Styles */
.stripe-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.stripe-info {
    margin-top: 1rem;
}

.stripe-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.connected {
    background: #22C55E;
}

.status-dot.disconnected {
    background: #EF4444;
}

.status-text {
    font-weight: 500;
    color: #333;
}

.stripe-actions {
    display: flex;
    gap: 0.5rem;
}

.payout-info {
    background: white;
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.payout-info h4 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
}

.earnings-amount {
    font-weight: 600;
    color: #22C55E;
    font-size: 1.1rem;
}

.stripe-setup-info {
    background: white;
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.stripe-setup-info h4 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
}

.stripe-setup-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.stripe-setup-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.stripe-setup-info li i {
    color: #22C55E;
    font-size: 0.9rem;
}

.fee-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.fee-info h5 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1rem;
}

.fee-breakdown {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 0.75rem;
    margin: 0.5rem 0;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.fee-item.total {
    font-weight: 600;
    color: #333;
    border-top: 1px solid #e9ecef;
    padding-top: 0.25rem;
    margin-top: 0.25rem;
}

.fee-note {
    font-size: 0.8rem;
    color: #666;
    margin: 0.5rem 0 0 0;
    font-style: italic;
}

/* Stripe Required Notice */
.stripe-required-notice {
    color: #EF4444;
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Disabled Toggle State */
.ticketing-toggle-label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ticketing-toggle-label.disabled input[type="checkbox"] {
    cursor: not-allowed;
}

.ticketing-toggle-label.disabled .toggle-slider {
    background: #d1d5db;
    cursor: not-allowed;
}

/* Forgot Password Help */
.forgot-password-help {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
}

.forgot-password-help p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #666;
}

.forgot-password-help a {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password-help a:hover {
    text-decoration: underline;
}
