/* Add Venue Page Specific Styles */

/* Active nav link styling */
.nav-link.active {
    color: #FF7031 !important;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #FF7031;
    border-radius: 1px;
}

/* Main Content */
.main-content {
    padding-top: 100px;
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #FDFEF6 0%, #F0F8FF 100%);
}

/* Authentication Section */
.auth-section {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #FDFEF6;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 112, 49, 0.1);
}

.auth-container {
    text-align: center;
}

.auth-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Form Styles */
.auth-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E1E5E9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #FDFEF6;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* Auth Switch Links */
.auth-switch {
    margin-top: 1.5rem;
    color: #666;
}

.auth-switch a {
    color: #007AFF;
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Venue Section */
.venue-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0;
}

/* User Profile Header */
.user-profile-header {
    background: #FDFEF6;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 112, 49, 0.1);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FF7031, #FF9A56);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-email {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.user-status {
    font-size: 0.85rem;
    color: #28a745;
    font-weight: 500;
}

.profile-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF7031;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logout-btn-profile {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #dc3545;
    background: #dc3545;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.logout-btn-profile:hover {
    background: #c82333;
    border-color: #c82333;
    transform: scale(1.05);
}

.logout-btn-profile:active {
    transform: scale(0.95);
}

/* Dashboard Container */
.dashboard-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    min-height: 600px;
}

/* Venues Sidebar */
.venues-sidebar {
    background: #FDFEF6;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 112, 49, 0.1);
    padding: 1.5rem;
    height: fit-content;
}

.sidebar-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E1E5E9;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.venues-list {
    max-height: 500px;
    overflow-y: auto;
}

.venue-item {
    padding: 1rem;
    border: 1px solid #E1E5E9;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.venue-item:hover {
    border-color: #FF7031;
    background-color: #FFF8F5;
}

.venue-item.selected {
    border-color: #FF7031;
    background-color: #FFF0E6;
}

.venue-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.venue-id-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.venue-id {
    font-size: 0.75rem;
    color: #666;
    font-family: 'Roboto Mono', monospace;
    flex: 1;
    word-break: break-all;
    line-height: 1.2;
}

.copy-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.copy-btn:active {
    transform: scale(0.95);
}

.loading-venues {
    text-align: center;
    color: #666;
    padding: 2rem;
    font-style: italic;
}

.no-venues {
    text-align: center;
    color: #666;
    padding: 2rem;
}

/* Venue Container (Right Side) */
.venue-container {
    background: #FDFEF6;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 112, 49, 0.1);
    padding: 2rem;
    text-align: left;
}

.venue-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.venue-header > div {
    text-align: center;
    flex: 1;
}

.logout-btn {
    flex-shrink: 0;
    margin-left: 1rem;
    background-color: #dc3545 !important;
    color: white !important;
    border: none !important;
    min-width: 80px;
}

.venue-description {
    color: #666;
    margin-bottom: 0;
    font-size: 1.1rem;
    text-align: center;
}

/* Venue Form */
.venue-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E1E5E9;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.success-content {
    background: #FDFEF6;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    margin: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.success-content h3 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-content p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-content .btn {
    margin: 0 0.5rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-section {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .venue-section {
        margin: 1rem;
    }
    
    .user-profile-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .user-info {
        align-self: center;
    }
    
    .profile-right {
        align-self: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .user-stats {
        gap: 3rem;
    }
    
    .dashboard-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .venues-sidebar {
        order: 2;
        margin-top: 1rem;
    }
    
    .venue-container {
        order: 1;
    }
    
    .sidebar-header h3 {
        text-align: center;
    }
    
    .venue-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .venue-header > div {
        text-align: center;
    }
    

    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .success-content {
        margin: 1rem;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .auth-section,
    .venue-section {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .main-content {
        padding-top: 80px;
    }
}