* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 450px;
}

.login-card, .error-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.logo h1 {
    color: #d4af6a;
    font-size: 2.5em;
    margin-bottom: 5px;
}

.logo p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 30px;
}

.login-form h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 1.5em;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn-google {
    background: white;
    color: #333;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
}

.btn-google:hover {
    border-color: #4285F4;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.2);
}

.btn-primary {
    background: #d4af6a;
    color: #000;
}

.btn-primary:hover {
    background: #e5c082;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 106, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9em;
}

.welcome {
    margin-top: 20px;
}

.welcome p {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 20px;
}

.welcome .btn {
    margin: 5px;
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 6px;
    margin-top: 20px;
}

/* Dashboard Styles */
.dashboard-container {
    width: 100%;
    min-height: 100vh;
    background: #f5f5f5;
}

.dashboard-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    color: #d4af6a;
    font-size: 1.8em;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-picture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #d4af6a;
}

/* User Menu Dropdown */
.user-menu-container {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #d4af6a;
    cursor: pointer;
    transition: all 0.3s ease;
    object-fit: cover;
}

.user-avatar:hover {
    border-color: #e5c082;
    box-shadow: 0 2px 8px rgba(212, 175, 106, 0.4);
    transform: scale(1.05);
}

.user-avatar-placeholder {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #d4af6a;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #d4af6a;
}

.user-avatar-placeholder:hover {
    background: #e5c082;
    border-color: #e5c082;
    box-shadow: 0 2px 8px rgba(212, 175, 106, 0.4);
    transform: scale(1.05);
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-menu-container:hover .user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.user-menu-header .user-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
    margin-bottom: 5px;
}

.user-menu-header .user-email {
    font-size: 0.85em;
    color: #666;
}

.user-menu-item {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
    border: none;
    width: 100%;
    text-align: left;
    background: none;
    font-size: 0.95em;
    cursor: pointer;
}

.user-menu-item:hover {
    background: #f5f5f5;
    color: #d4af6a;
}

.user-menu-item.logout {
    border-top: 1px solid #eee;
    color: #e74c3c;
}

.user-menu-item.logout:hover {
    background: #fee;
    color: #c33;
}

/* Top Bar Header */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar .logo h1 {
    color: #d4af6a;
    font-size: 1.5em;
    margin: 0;
}

.top-bar .logo p {
    color: #666;
    font-size: 0.85em;
    margin: 0;
}

body.has-top-bar {
    padding-top: 70px;
}

.user-info span {
    font-weight: 600;
    color: #333;
}

.dashboard-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dashboard-card h2 {
    color: #333;
    margin-bottom: 20px;
}

.dashboard-card h3 {
    color: #d4af6a;
    margin-top: 30px;
    margin-bottom: 15px;
}

.dashboard-card p {
    color: #555;
}

.user-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.user-details p {
    margin: 10px 0;
    color: #555;
}

.actions {
    margin-top: 30px;
}

.error-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.error-card h1 {
    color: #e74c3c;
    margin-bottom: 20px;
}

.error-card p {
    color: #666;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .dashboard-card {
        padding: 20px;
    }
}


