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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
        gap: 0;
    }
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    color: white;
    animation: color-rotate 6s linear infinite;
    box-shadow: 0 0 15px currentColor;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.footer .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
}

@keyframes color-rotate {
    0% {
        color: #ff8a00;
        box-shadow: 0 0 15px #ff8a00;
    }
    20% {
        color: #e52e71;
        box-shadow: 0 0 15px #e52e71;
    }
    40% {
        color: #4facfe;
        box-shadow: 0 0 15px #4facfe;
    }
    60% {
        color: #00f2fe;
        box-shadow: 0 0 15px #00f2fe;
    }
    80% {
        color: #a64dff;
        box-shadow: 0 0 15px #a64dff;
    }
    100% {
        color: #ff8a00;
        box-shadow: 0 0 15px #ff8a00;
    }
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
  }

  .highlight {
    color: #1230ae;
  }

  .highlight-numbers {
    color: #1230ae;
    font-weight: bolder;
  }

.logo-text, .footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    position: relative;
    overflow: hidden;
    animation: shine 3s linear infinite;
}

.footer-logo-text {
    color: white;
    font-size: 1.25rem;
}

.logo-text::after, .footer-logo-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine-line 3s infinite;
    transform: skewX(-20deg);
    z-index: 1;
    pointer-events: none;
}

.logo-text::before, .footer-logo-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: mega-shine-rotate 6s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes shine-line {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes mega-shine-rotate {
    0% { transform: rotate(30deg) translate(-30%, -30%); }
    100% { transform: rotate(30deg) translate(30%, 30%); }
}

/* Filter Controls */
.filter-controls {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .filter-controls {
        width: auto;
        flex-direction: row;
        gap: 1rem;
    }
}

.filter-buttons {
    display: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .filter-buttons {
        display: flex;
    }
}

/* Desktop Additional Categories Dropdown */
.desktop-filter-dropdown {
    background: #6366f1;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
    min-width: 150px;
}

.desktop-filter-dropdown:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.desktop-filter-dropdown:focus {
    background: #4f46e5;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

.desktop-filter-dropdown option {
    background: white;
    color: #374151;
    padding: 0.5rem;
}

.dropdown-icon {
    transition: transform 0.2s ease;
}

.more-cities-dropdown.open .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.more-cities-dropdown.open .dropdown-content {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

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

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
    color: #374151;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
}

.dropdown-item.active {
    background-color: #3b82f6;
    color: white;
}

.mobile-filter {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .mobile-filter {
        display: none;
    }
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #e5e7eb;
    color: #374151;
}

.filter-btn:hover {
    background: #d1d5db;
}

.filter-btn.active {
    background: #3b82f6;
    color: white;
}

/* Main Content */
.main {
    flex: 1;
    padding: 2rem 0;
}

/* Stats Overview */
.stats-overview {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.stats-title {
    font-size: 1.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    animation: shine 3s linear infinite;
}

.stats-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine-line 3s infinite;
    transform: skewX(-20deg);
    z-index: 1;
    pointer-events: none;
}

.stats-title::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: mega-shine-rotate 6s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.stats-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.stat-card {
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(76, 29, 149, 0.3);
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
}

/* Stat Card Colors */
.all-card {
    background: #eff6ff;
}
.all-card:hover { background: #dbeafe; }
.all-card .stat-number { color: #2563eb; }

.hyderabad-card {
    background: #f0fdf4;
}
.hyderabad-card:hover { background: #dcfce7; }
.hyderabad-card .stat-number { color: #16a34a; }

.vizag-card {
    background: #faf5ff;
}
.vizag-card:hover { background: #f3e8ff; }
.vizag-card .stat-number { color: #9333ea; }

.vijayawada-card {
    background: #fdf2f8;
}
.vijayawada-card:hover { background: #fce7f3; }
.vijayawada-card .stat-number { color: #db2777; }

.warangal-card {
    background: #fffbeb;
}
.warangal-card:hover { background: #fef3c7; }
.warangal-card .stat-number { color: #d97706; }

.guntur-card {
    background: #eff6ff;
}
.guntur-card:hover { background: #dbeafe; }
.guntur-card .stat-number { color: #2563eb; }

/* Gallery Sections */
.gallery-section {
    margin-bottom: 3rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-section.fade-in {
    opacity: 1;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    position: relative;
    overflow: hidden;
    animation: shine 3s linear infinite;
}

.section-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine-line 3s infinite;
    transform: skewX(-20deg);
    z-index: 1;
    pointer-events: none;
}

.section-info {
    font-size: 0.875rem;
    color: #6b7280;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .image-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Image Container */
.image-container {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    aspect-ratio: 1;
    display: block;
    text-decoration: none;
    color: inherit;
}

.image-container:hover {
    transform: translateY(-0.25rem) scale(1.05);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.7);
    text-decoration: none;
    color: inherit;
}

.image-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.image-item.loading {
    opacity: 0.5;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 0.75rem;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.image-title {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Like Button System */
.like-section {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 2;
}

.like-button {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.like-button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

.like-button.liked {
    background: rgba(255, 20, 147, 0.8);
    border-color: rgba(255, 20, 147, 0.3);
}

.like-button.liked:hover {
    background: rgba(255, 20, 147, 0.9);
}

.like-icon {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.like-button.liked .like-icon {
    transform: scale(1.2);
    animation: heartBeat 0.6s ease;
}

.like-count {
    color: white;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.25); }
    100% { transform: scale(1.2); }
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Star visibility on hover */
.image-container:hover .star-rating {
    transform: scale(1.15);
    transition: transform 0.2s ease;
}

/* Load More Section */
.load-more {
    text-align: center;
    margin-top: 3rem;
}

.showing-text {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.load-more-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    background: #2563eb;
    transform: translateY(-0.125rem);
}

.load-more-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

/* Section Load More */
.section-load-more {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.section-load-more .showing-text {
    margin-bottom: 0.5rem;
}

.section-load-more .load-more-btn {
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        gap: 0;
    }
}

.copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #9ca3af;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: white;
}


/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .stats-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
}

/* Close dropdown when clicking outside */
.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: none;
}

.dropdown-overlay.active {
    display: block;
}

/* Sidebar Navigation */
.sidebar-toggle {
    position: fixed;
    top: 1.2rem;
    right: 0.1rem;
    z-index: 1001;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.3rem;
    padding: 0.1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: #2563eb;
    transform: scale(1.05);
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.sidebar.open {
    right: 0;
}

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

.sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.sidebar-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.sidebar-nav {
    padding: 1.5rem 0;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: #f3f4f6;
    color: #3b82f6;
    border-left-color: #3b82f6;
    text-decoration: none;
}

.sidebar-auth {
    margin-top: 2rem;
    padding: 0 1.5rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.auth-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.login-btn {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.login-btn:hover {
    background: #3b82f6;
    color: white;
    text-decoration: none;
}

.signup-btn {
    background: #3b82f6;
    color: white;
    border: 2px solid #3b82f6;
}

.signup-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    text-decoration: none;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.profile-btn {
    background: #8b5cf6;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-btn:hover {
    background: #7c3aed;
    color: white;
    text-decoration: none;
}

.logout-btn {
    background: #ef4444;
    color: white;
    border: none;
    font-family: inherit;
    width: 100%;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.logout-btn:hover {
    background: #dc2626;
    color: white;
}

/* Responsive adjustments for sidebar */
@media (max-width: 768px) {
    .sidebar {
        width: 280px;
        right: -280px;
    }
}

/* Authentication Pages Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    margin: auto;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-home {
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: white;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo {
    justify-content: center;
    margin-bottom: 1rem;
}

.auth-header .logo-text {
    font-size: 1.25rem;
}

.auth-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 1rem;
}

.auth-form {
    space-y: 1.5rem;
}

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

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

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

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.password-requirements {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.requirement {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirement::before {
    content: '○';
    color: #d1d5db;
}

.requirement.valid::before {
    content: '✓';
    color: #10b981;
}

.requirement.valid {
    color: #10b981;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 1rem;
    height: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-input:checked + .checkbox-custom {
    background: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
}

.forgot-link, .terms-link, .auth-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.forgot-link:hover, .terms-link:hover, .auth-link:hover {
    text-decoration: underline;
    color: #2563eb;
}

.auth-submit {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
}

.auth-submit:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    position: relative;
}

.auth-social {
    margin-bottom: 1.5rem;
}

.social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.auth-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.auth-footer p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Responsive adjustments for auth pages */
@media (max-width: 640px) {
    .auth-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .back-to-home {
        top: 1rem;
        left: 1rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Profile Page Styles */
.profile-container {
    min-height: 100vh;
    background: #f8fafc;
}

.profile-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.profile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: #374151;
    text-decoration: none;
}

.profile-actions {
    display: flex;
    gap: 1rem;
}

.edit-btn, .logout-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.edit-btn {
    background: #3b82f6;
    color: white;
}

.edit-btn:hover {
    background: #2563eb;
}

.logout-btn {
    background: #ef4444;
    color: white;
}

.logout-btn:hover {
    background: #dc2626;
}

.profile-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

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

.user-avatar {
    position: relative;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.user-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.user-details p {
    color: #6b7280;
    margin: 0 0 1rem 0;
}

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

.user-meta span {
    font-size: 0.875rem;
    color: #9ca3af;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0f9ff;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #0ea5e9;
}

.balance-label {
    font-weight: 500;
    color: #0369a1;
}

.balance-amount {
    font-weight: 700;
    font-size: 1.125rem;
    color: #0369a1;
}

.upi-setup-card {
    text-align: center;
}

.upi-form .upi-icon {
    color: #3b82f6;
    margin-bottom: 1rem;
}

.upi-form h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.upi-form p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.save-upi-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.save-upi-btn:hover {
    background: #059669;
}

.upi-display {
    text-align: left;
}

.upi-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 1rem;
}

.upi-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.upi-info label {
    font-weight: 500;
    color: #374151;
}

.upi-info span {
    font-family: monospace;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
}

.edit-upi-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

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

.financial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.financial-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.earning-card {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
}

.withdraw-card {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.earning-icon {
    background: rgba(255, 255, 255, 0.2);
}

.withdraw-icon {
    background: rgba(255, 255, 255, 0.2);
}

.card-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

.card-content .amount {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.card-content small {
    opacity: 0.8;
    font-size: 0.75rem;
}

.withdraw-section {
    text-align: center;
    padding: 2rem;
    border: 2px dashed #d1d5db;
    border-radius: 0.75rem;
    background: #f9fafb;
}

.withdraw-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto 0.5rem auto;
}

.withdraw-btn:hover:not(:disabled) {
    background: #dc2626;
    transform: translateY(-1px);
}

.withdraw-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.withdraw-note {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.filter-options select {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    font-size: 0.875rem;
}

.transaction-list {
    min-height: 200px;
}

.no-transactions {
    text-align: center;
    padding: 3rem 1rem;
    color: #9ca3af;
}

.no-transactions svg {
    margin-bottom: 1rem;
}

.no-transactions p {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.transaction-item:hover {
    background: #f9fafb;
}

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

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

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.earning-transaction .transaction-icon {
    background: #dcfce7;
    color: #16a34a;
}

.withdrawal-transaction .transaction-icon {
    background: #fee2e2;
    color: #dc2626;
}

.transaction-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.transaction-details p {
    margin: 0;
    font-size: 0.75rem;
    color: #6b7280;
}

.transaction-amount {
    text-align: right;
}

.transaction-amount .amount {
    font-weight: 700;
    font-size: 1rem;
}

.earning-transaction .amount {
    color: #16a34a;
}

.withdrawal-transaction .amount {
    color: #dc2626;
}

.transaction-amount .status {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-top: 0.25rem;
    display: inline-block;
}

.status-completed {
    background: #dcfce7;
    color: #16a34a;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-failed {
    background: #fee2e2;
    color: #dc2626;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    width: 90%;
    max-width: 500px;
    border-radius: 1rem;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

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

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

.modal-header h3 {
    margin: 0;
    color: #1f2937;
}

.modal-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
}

.modal-body {
    padding: 2rem;
}

.upi-confirm {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #0ea5e9;
    margin-bottom: 1.5rem;
}

.upi-confirm label {
    font-weight: 500;
    color: #0369a1;
    display: block;
    margin-bottom: 0.25rem;
}

.upi-confirm span {
    font-family: monospace;
    color: #0369a1;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cancel-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

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

.confirm-withdraw-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.confirm-withdraw-btn:hover {
    background: #dc2626;
}

.load-more-transactions {
    text-align: center;
    margin-top: 1rem;
}

.load-more-transactions button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.load-more-transactions button:hover {
    background: #2563eb;
}

/* Responsive adjustments for profile */
@media (max-width: 768px) {
    .profile-content {
        padding: 1rem;
    }
    
    .profile-section {
        padding: 1.5rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .user-info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .financial-cards {
        grid-template-columns: 1fr;
    }
    
    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .transaction-amount {
        text-align: left;
        width: 100%;
    }
    
    .profile-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .profile-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}