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

*, *::before, *::after {
    box-sizing: inherit;
}

html {
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #1a1a1a;
    background-color: #ffffff;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.nav-left {
    display: flex;
    align-items: center;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #1a1a1a;
    font-size: 14px;
}

.nav-btn:hover {
    background-color: #f5f5f5;
    border-radius: 4px;
}

.sign-in-link {
    padding: 8px 16px;
    color: #1a1a1a;
    font-size: 14px;
}

.sign-in-link:hover {
    background-color: #f5f5f5;
    border-radius: 4px;
}

/* User Menu Styles */
.user-menu-wrapper {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    color: #1a1a1a;
    font-size: 14px;
    border-radius: 20px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.user-menu-btn:hover {
    background-color: #f5f5f5;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #0066cc;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.user-name {
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-arrow {
    transition: transform 0.2s;
    flex-shrink: 0;
}

.user-menu-btn[aria-expanded="true"] .user-menu-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.user-dropdown-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
    margin-bottom: 4px;
}

.user-dropdown-email {
    font-size: 12px;
    color: #666666;
}

.user-dropdown-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 8px 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #1a1a1a;
    font-size: 14px;
    transition: background-color 0.2s;
    text-decoration: none;
}

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

.user-dropdown-item svg {
    flex-shrink: 0;
    color: #666666;
}

.user-dropdown-item.logout-item {
    color: #dc3545;
}

.user-dropdown-item.logout-item svg {
    color: #dc3545;
}

.user-dropdown-item.logout-item:hover {
    background-color: #fee;
}

/* Profile Page Styles */
.profile-page {
    padding: 40px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-container {
    width: 100%;
}

.profile-header {
    margin-bottom: 32px;
}

.profile-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.profile-subtitle {
    font-size: 16px;
    color: #666666;
    margin: 0;
}

.profile-content {
    display: flex;
    gap: 32px;
}

.profile-card {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
}

.profile-avatar-section {
    text-align: center;
    padding-bottom: 32px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 32px;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #0066cc;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 40px;
    margin: 0 auto 16px;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.profile-email {
    font-size: 14px;
    color: #666666;
    margin: 0 0 12px 0;
}

.verified-badge,
.unverified-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.verified-badge {
    background-color: #d4edda;
    color: #155724;
}

.unverified-badge {
    background-color: #fff3cd;
    color: #856404;
}

.profile-info-section {
    margin-bottom: 32px;
}

.info-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-group:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    font-weight: 600;
    color: #666666;
    min-width: 140px;
}

.info-value {
    font-size: 14px;
    color: #1a1a1a;
    text-align: right;
    flex: 1;
}

.profile-actions {
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: #1a1a1a;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #2a2a2a;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #1a1a1a;
    margin-left: 12px;
}

.btn-secondary:hover {
    background-color: #e5e5e5;
}

/* Settings Form Styles */
.settings-form {
    width: 100%;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 24px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1a1a1a;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0066cc;
}

.form-hint {
    font-size: 12px;
    color: #666666;
    margin: 6px 0 0 0;
}

.form-actions {
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .profile-page {
        padding: 24px 16px 60px;
    }
    
    .profile-card {
        padding: 24px;
    }
    
    .profile-title {
        font-size: 28px;
    }
    
    .info-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .info-value {
        text-align: left;
    }
    
    .form-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .user-menu-btn {
        padding: 4px 8px;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

.main-nav {
    padding: 0 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
}

.secondary-nav {
    margin-left: auto;
    gap: 24px;
}

.nav-link {
    color: #1a1a1a;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    position: relative;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: #f5f5f5;
}

.nav-link.active {
    background-color: #1a1a1a;
    color: #ffffff;
    font-weight: 500;
    border-radius: 20px;
}

.nav-link.active::after {
    display: none;
}

.nav-caret {
    width: 10px;
    height: 10px;
    color: currentColor;
    transition: transform 0.2s;
}

.nav-caret-up {
    transform: rotate(180deg);
}

.nav-icon {
    width: 14px;
    height: 14px;
    color: currentColor;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px;
}

.cart-link svg {
    width: 20px;
    height: 20px;
    color: #1a1a1a;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    padding: 8px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
    list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #1a1a1a;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-dropdown-link:hover {
    background-color: #f5f5f5;
}

.nav-dropdown-link.active {
    background-color: #6c5ce7;
    color: #ffffff;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    color: currentColor;
    flex-shrink: 0;
}

/* Hero Section */
.hero-section {
    padding: 40px 24px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 32px;
    color: #1a1a1a;
}

.search-container {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    max-width: 800px;
}

.search-box-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-btn {
    position: absolute;
    left: 16px;
    z-index: 1;
    color: #666;
    padding: 0;
}

.search-form {
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #0066cc;
}

.search-filter-dropdown {
    position: relative;
    z-index: 1000;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    background-color: #ffffff;
    color: #1a1a1a;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    min-width: 160px;
    justify-content: space-between;
}

.filter-btn:hover {
    border-color: #0066cc;
}

.filter-btn svg {
    flex-shrink: 0;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    max-width: 250px;
    z-index: 1001;
    overflow: hidden;
}

.dropdown-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu button {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    color: #1a1a1a;
    font-size: 14px;
}

.dropdown-menu button:hover {
    background-color: #f5f5f5;
}

.dropdown-menu button.active {
    background-color: #0066cc;
    color: #ffffff;
}

.category-nav {
    margin-bottom: 24px;
}

.category-list {
    display: flex;
    gap: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.category-list a {
    color: #666;
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.2s;
}

.category-list a:hover {
    color: #0066cc;
}

.filter-tabs {
    margin-bottom: 32px;
}

.filter-list {
    display: flex;
    gap: 24px;
}

.filter-list a {
    color: #666;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.filter-list a:hover {
    color: #0066cc;
}

.filter-list a.active {
    color: #1a1a1a;
    font-weight: 500;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 80px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Featured Collections */
.featured-collections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 64px;
}

.featured-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.featured-item.large-featured {
    aspect-ratio: 4/3;
}

.featured-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.featured-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
}

.featured-item:hover .featured-image {
    transform: scale(1.05);
}

.featured-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #ffffff;
}

.category-badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

.featured-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* Main Heading */
.main-heading {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
    color: #1a1a1a;
}

/* Images Grid */
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.image-item {
    display: flex;
    flex-direction: column;
}

.image-link {
    position: relative;
    display: block;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    background-color: #f5f5f5;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.image-link:hover .image-wrapper img {
    transform: scale(1.05);
}

.image-count {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.image-title-link {
    display: block;
    color: #1a1a1a;
}

.image-title-link:hover {
    color: #0066cc;
}

.image-title-link figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.image-title-link time {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.image-description {
    font-size: 14px;
    line-height: 1.4;
    color: #1a1a1a;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.load-more-btn {
    padding: 14px 32px;
    background-color: #1a1a1a;
    color: #ffffff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
}

.load-more-btn:hover {
    background-color: #333;
}

/* Footer - Purple Design */
.main-footer {
    background-color: #6B46C1;
    color: #ffffff;
    padding: 80px 60px 32px;
    margin-top: 80px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.footer-top {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 80px;
    margin-bottom: 48px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.footer-logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #6B46C1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.region-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.region-picker:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.region-picker svg:first-of-type {
    width: 20px;
    height: 15px;
    flex-shrink: 0;
}

.region-picker svg:last-of-type {
    width: 12px;
    height: 12px;
    margin-left: auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    padding: 0;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    line-height: 1.5;
}

.footer-menu a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B46C1;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 12px;
}

.footer-copyright {
    margin: 0;
    color: #ffffff;
    font-size: 12px;
}

.footer-legal {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal li {
    position: relative;
    padding: 0;
    margin: 0;
}

.footer-legal li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a {
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-legal a:hover {
    opacity: 0.8;
}

/* Footer Responsive Design */
@media (max-width: 1200px) {
    .main-footer {
        padding: 60px 40px 32px;
    }
    
    .footer-top {
        grid-template-columns: 200px 1fr;
        gap: 60px;
    }
    
    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .featured-collections {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-item.large-featured {
        aspect-ratio: 4/3;
    }
    
    .main-footer {
        padding: 60px 30px 32px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-nav {
        padding: 12px 16px;
        flex-wrap: wrap;
    }
    
    .main-nav {
        padding: 0 16px;
        overflow-x: auto;
    }
    
    .nav-list {
        gap: 16px;
        flex-wrap: nowrap;
        min-width: max-content;
    }
    
    .user-name {
        display: none;
    }
    
    .user-dropdown-menu {
        right: -16px;
        min-width: 220px;
    }
    
    .secondary-nav {
        margin-left: 0;
    }
    
    .hero-section {
        padding: 24px 16px;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .main-content {
        padding: 0 16px 40px;
        width: 100%;
        max-width: 100%;
    }
    
    .featured-collections {
        grid-template-columns: 1fr;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .main-footer {
        padding: 48px 24px 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-logo-section {
        align-items: flex-start;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-legal li::after {
        display: none;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-column {
        grid-template-columns: 1fr;
    }
}

/* Video Page Styles */
.video-hero .hero-title {
    font-size: 36px;
}

.search-by-image-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    background-color: #ffffff;
    color: #1a1a1a;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.2s;
}

.search-by-image-btn:hover {
    border-color: #0066cc;
}

.search-by-image-btn svg {
    width: 20px;
    height: 20px;
}

.video-filter-tabs {
    margin-bottom: 40px;
}

.filter-list {
    display: flex;
    align-items: center;
    gap: 16px;
}

.filter-link {
    color: #666;
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.2s;
}

.filter-link:hover {
    color: #0066cc;
}

.filter-link.active {
    color: #1a1a1a;
    font-weight: 500;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6c5ce7;
    font-size: 14px;
    padding: 8px 0;
    background: none;
    border: none;
    cursor: pointer;
}

.view-all-btn:hover {
    text-decoration: underline;
}

/* Promotional Banner */
.promo-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 64px;
    padding: 0 24px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.promo-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/1;
}

.promo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-item p {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Section Heading */
.section-heading {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 48px;
    color: #1a1a1a;
    padding: 0 24px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Categories */
.video-categories {
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto 80px;
}

.video-category-section {
    margin-bottom: 64px;
}

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

.category-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.view-more-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c5ce7;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-more-link:hover {
    text-decoration: underline;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.video-item {
    display: flex;
    flex-direction: column;
}

.video-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s;
}

.video-link:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
}

/* Featured Partners */
.featured-partners {
    padding: 0 24px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.partners-heading {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.partners-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.partners-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.partner-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.partner-item.large-partner {
    aspect-ratio: 2/1;
}

.partner-item:not(.large-partner) {
    aspect-ratio: 2/1;
}

.partner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-item p {
    position: absolute;
    bottom: 60px;
    left: 24px;
    right: 24px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.partner-link {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.partner-link:hover {
    text-decoration: underline;
}

/* Browse Partners */
.browse-partners {
    padding: 0 24px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    list-style: none;
}

.partners-list a {
    color: #0066cc;
    font-size: 14px;
    text-decoration: none;
}

.partners-list a:hover {
    text-decoration: underline;
}

/* Creative Video Page Styles */
.video-info-section {
    padding: 48px 24px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.video-info-section .section-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 48px;
}

.info-cards {
    display: flex;
    justify-content: center;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.info-card p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.video-collections-section {
    padding: 0 24px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.video-collection {
    margin-bottom: 64px;
}

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

.collection-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.view-more-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0066cc;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.view-more-link:hover {
    text-decoration: underline;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.video-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.featured-partners-section {
    padding: 80px 24px;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #f8f8f8;
}

.featured-partners-section .section-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 48px;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

.partner-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.partner-card.large {
    grid-row: 1 / 3;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.partner-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 24px;
    object-fit: contain;
}

.partner-card.large img {
    max-width: 300px;
}

.partner-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.partner-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 24px 0;
    flex: 1;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0066cc;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.explore-link:hover {
    text-decoration: underline;
}

.browse-partners-section {
    padding: 80px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.browse-partners-section .section-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 32px;
    text-align: center;
}

.browse-partners-section .partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
}

.browse-partners-section .partners-list a {
    color: #0066cc;
    font-size: 16px;
    text-decoration: none;
}

.browse-partners-section .partners-list a:hover {
    text-decoration: underline;
}

/* Partner Collections Page Styles */
.search-bar-section {
    padding: 24px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.collections-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.collections-breadcrumb {
    padding: 24px 0;
}

.breadcrumb-list {
    display: flex;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-list a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: #1a1a1a;
}

.partner-hero {
    padding: 64px 0;
}

.hero-content {
    max-width: 900px;
}

.partner-hero-title {
    font-size: 48px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.partner-hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.visualgps-section {
    padding: 48px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 64px;
}

.visualgps-heading {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0;
    max-width: 900px;
}

.partner-collections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    margin-bottom: 80px;
}

.partner-collection-card {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 48px;
    align-items: start;
}

.collection-image-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.collection-image-link img {
    width: 100%;
    height: auto;
    display: block;
}

.collection-content {
    display: flex;
    flex-direction: column;
}

.collection-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.collection-description {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 24px 0;
}

.collection-description a {
    color: #0066cc;
    text-decoration: none;
}

.collection-description a:hover {
    text-decoration: underline;
}

.collection-link {
    color: #0066cc;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.collection-link:hover {
    text-decoration: underline;
}

.additional-resources {
    padding: 80px 0;
    border-top: 1px solid #e5e5e5;
    margin-bottom: 80px;
}

.resources-heading {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 48px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.resource-card {
    display: flex;
    flex-direction: column;
}

.resource-card a {
    text-decoration: none;
    color: inherit;
}

.resource-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.resource-card h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.resource-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.contact-cta-section {
    position: relative;
    padding: 80px 24px;
    margin: 0 -24px 64px;
    border-radius: 8px;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-heading {
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 48px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cta-button {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cta-link {
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.cta-link img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.cta-text {
    flex: 1;
}

.cta-text p {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
}

.cta-text span {
    font-size: 14px;
    font-weight: 500;
    color: #0066cc;
}

.credits-link {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid #e5e5e5;
}

.credits-link a {
    color: #0066cc;
    font-size: 14px;
    text-decoration: none;
}

.credits-link a:hover {
    text-decoration: underline;
}

/* Media and Sports Page Styles */
.sports-partners-section {
    padding: 64px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 64px;
}

.section-heading {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 48px;
}

.sports-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sport-partner-card {
    display: flex;
    flex-direction: column;
}

.sport-image-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.sport-image-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.sport-image-link:hover img {
    transform: scale(1.05);
}

.sport-link {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.sport-link:hover {
    color: #0066cc;
    text-decoration: underline;
}

.media-partners-section {
    padding: 64px 0;
    margin-bottom: 80px;
}

.media-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
}

.media-partner-card {
    display: flex;
    flex-direction: column;
}

.media-image-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.media-image-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.media-image-link:hover img {
    transform: scale(1.05);
}

.media-link {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
}

.media-link:hover {
    color: #0066cc;
    text-decoration: underline;
}

.media-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

@media (max-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .partner-card.large {
        grid-row: 1 / 2;
    }
    
    .info-cards {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .collection-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .partner-collection-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .sports-partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .media-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        grid-template-columns: 1fr;
    }
    
    .partner-hero-title {
        font-size: 36px;
    }
    
    .partner-hero-subtitle {
        font-size: 18px;
    }
    
    .visualgps-heading {
        font-size: 20px;
    }
    
    .section-heading {
        font-size: 28px;
    }
    
    .cta-heading {
        font-size: 28px;
    }
    
    .cta-link {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .sports-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .media-partners-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .section-heading {
        font-size: 24px;
    }
}

/* Homepage/Creative Page Styles */
.homepage-main {
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.homepage-hero {
    padding: 80px 24px 64px;
    text-align: center;
    background-color: #F5F3F0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.homepage-hero-title {
    font-size: 64px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 64px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.homepage-search-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    overflow: hidden;
    box-sizing: border-box;
}

.homepage-search-container .search-box-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
}

.homepage-search-container .search-icon-btn {
    position: absolute;
    left: 16px;
    z-index: 2;
    color: #666666;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-search-container .search-form {
    flex: 1;
    width: 100%;
}

.homepage-search-container .search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    outline: none;
    background-color: transparent;
    color: #1a1a1a;
}

.homepage-search-container .search-input::placeholder {
    color: #999999;
}

.homepage-search-container .search-input:focus::placeholder {
    color: #CCCCCC;
}

.homepage-search-container .search-input:focus {
    outline: none;
}

.homepage-search-container .search-filter-dropdown {
    position: relative;
    border-left: 1px solid #E5E5E5;
    border-right: 1px solid #E5E5E5;
    z-index: 100;
    background-color: #ffffff;
}

.homepage-search-container .dropdown-menu {
    top: 100%;
    left: 0;
    right: 0;
    min-width: 100%;
}

.homepage-search-container .filter-btn {
    border: none;
    border-radius: 0;
    background-color: transparent;
    padding: 14px 16px;
    min-width: 180px;
    font-size: 14px;
    color: #1a1a1a;
}

.homepage-search-container .filter-btn:hover {
    background-color: #F5F5F5;
}

.homepage-search-container .search-by-image-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background-color: transparent;
    border: none;
    color: #1a1a1a;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
    font-family: inherit;
}

.homepage-search-container .search-by-image-btn:hover {
    background-color: #F5F5F5;
}

.homepage-search-container .search-by-image-btn svg {
    flex-shrink: 0;
    color: #666666;
}

.promo-carousel-section {
    position: relative;
    margin-bottom: 80px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.promo-carousel {
    position: relative;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.carousel-track {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-slide {
    display: none;
}

.carousel-slide.active {
    display: block;
}

.promo-slide {
    position: relative;
    margin: 0;
}

.promo-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.promo-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 64px 48px 48px;
    color: #ffffff;
}

.promo-text h3 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #ffffff;
}

.promo-text p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 24px 0;
    color: rgba(255, 255, 255, 0.9);
}

.promo-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #ffffff;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.promo-link:hover {
    background-color: #f5f5f5;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    z-index: 10;
}

.carousel-prev {
    left: 24px;
}

.carousel-next {
    right: 24px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: #ffffff;
}

.carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.2s;
}

.carousel-indicator.active {
    background-color: #ffffff;
}

.homepage-images-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    background-color: #000000;
    padding: 2px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.homepage-image-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.homepage-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
    max-width: 100%;
}

.homepage-image-item:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.homepage-image-item:hover .image-overlay {
    opacity: 1;
}

.image-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 12px;
}

.image-author {
    font-weight: 500;
}

.image-id {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .homepage-hero-title {
        font-size: 48px;
    }
    
    .homepage-search-container {
        max-width: 95%;
        width: 100%;
    }
    
    .homepage-images-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .promo-carousel {
        padding: 0 20px;
    }
    
    .promo-text h3 {
        font-size: 24px;
    }
    
    .promo-slide-content {
        padding: 48px 32px 32px;
    }
}

@media (max-width: 768px) {
    .homepage-hero {
        padding: 48px 16px 32px;
    }
    
    .homepage-hero-title {
        font-size: 36px;
    }
    
    .homepage-search-container {
        border-radius: 4px;
        flex-direction: column;
        width: 100%;
    }
    
    .homepage-search-container .search-filter-dropdown,
    .homepage-search-container .search-by-image-btn {
        border-left: none;
        border-right: none;
        width: 100%;
    }
    
    .homepage-search-container .filter-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .homepage-images-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .promo-carousel {
        padding: 0 16px;
    }
    
    .promo-text h3 {
        font-size: 20px;
    }
    
    .promo-text p {
        font-size: 16px;
    }
    
    .promo-slide-content {
        padding: 32px 24px 24px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .carousel-prev {
        left: 12px;
    }
    
    .carousel-next {
        right: 12px;
    }
}

@media (max-width: 480px) {
    .homepage-hero {
        padding: 32px 12px 24px;
    }
    
    .homepage-hero-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .homepage-search-container {
        margin-bottom: 32px;
        border-radius: 4px;
    }
    
    .homepage-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-carousel {
        padding: 0 12px;
    }
    
    .promo-carousel-section {
        margin-bottom: 48px;
    }
}

/* Stock Photos Page Styles */
.stock-photos-page {
    padding: 0;
}

.stock-photos-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-search-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 100%;
    padding: 0 24px;
}

.search-input-hero {
    width: 100%;
    padding: 16px 24px 16px 56px;
    font-size: 18px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.95);
    outline: none;
}

.hero-search-container .search-box-wrapper {
    position: relative;
}

.hero-search-container .search-icon-btn {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    z-index: 3;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.stock-photos-intro {
    padding: 80px 24px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-heading {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.intro-description {
    font-size: 20px;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0 0 32px 0;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: #333;
}

.popular-search-section {
    padding: 64px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 32px 0;
}

.section-heading.white {
    color: #ffffff;
}

.popular-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.search-tag {
    display: inline-block;
    padding: 12px 24px;
    background-color: #f5f5f5;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 24px;
    font-size: 16px;
    transition: background-color 0.2s;
}

.search-tag:hover {
    background-color: #e5e5e5;
}

.trending-categories-section,
.essentials-section {
    padding: 64px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.categories-grid.large-categories {
    grid-template-columns: repeat(3, 1fr);
}

.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.category-card.large {
    aspect-ratio: 3 / 2;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 24px;
}

.category-overlay h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.category-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.learn-more-section {
    position: relative;
    padding: 120px 24px;
    text-align: center;
    margin: 80px 0;
}

.learn-more-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.learn-more-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.learn-more-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.learn-more-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.learn-more-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 32px;
    transition: transform 0.2s;
}

.learn-more-card:hover {
    transform: translateY(-4px);
}

.learn-more-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #1a1a1a;
}

.learn-more-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 8px;
}

.card-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 16px 0;
    color: #4a4a4a;
}

.card-link {
    color: #0066cc;
    font-weight: 500;
    font-size: 16px;
}

.faqs-section {
    padding: 80px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.faqs-heading {
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 32px 0;
    text-align: center;
}

.faqs-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    transition: background-color 0.2s;
}

.faq-item:hover {
    background-color: #e5e5e5;
}

.faq-item svg {
    flex-shrink: 0;
    color: #0066cc;
}

.credits-section {
    padding: 32px 24px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.credits-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 16px;
}

.credits-link:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid.large-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .learn-more-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-heading {
        font-size: 36px;
    }
    
    .section-heading {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .stock-photos-hero {
        height: 300px;
    }
    
    .stock-photos-intro {
        padding: 48px 16px;
    }
    
    .intro-heading {
        font-size: 28px;
    }
    
    .intro-description {
        font-size: 18px;
    }
    
    .popular-search-section,
    .trending-categories-section,
    .essentials-section {
        padding: 48px 16px;
    }
    
    .categories-grid,
    .categories-grid.large-categories {
        grid-template-columns: 1fr;
    }
    
    .learn-more-section {
        padding: 64px 16px;
        margin: 48px 0;
    }
    
    .learn-more-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .faqs-section {
        padding: 48px 16px;
    }
    
    .faqs-heading {
        font-size: 28px;
    }
    
    .section-heading {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .search-input-hero {
        font-size: 16px;
        padding: 14px 20px 14px 48px;
    }
    
    .popular-search-tags {
        gap: 12px;
    }
    
    .search-tag {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .category-overlay h3 {
        font-size: 20px;
    }
}

/* Login Page Styles - Professional Design */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.login-header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.login-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-logo {
    text-decoration: none;
    transition: opacity 0.2s;
}

.login-logo:hover {
    opacity: 0.8;
}

.login-logo .logo-text {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.login-header-tabs {
    display: flex;
    gap: 40px;
}

.login-tab {
    font-size: 13px;
    font-weight: 600;
    color: #666666;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.login-tab:hover {
    color: #1a1a1a;
}

.login-tab.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
}

.login-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 81px);
    padding: 60px 24px;
}

.login-container {
    width: 100%;
    max-width: 480px;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-form-wrapper {
    background-color: #ffffff;
    padding: 56px 48px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.login-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.login-subtitle {
    font-size: 15px;
    color: #666666;
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.2px;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #1a1a1a;
}

.form-input::placeholder {
    color: #999999;
}

.form-input:hover {
    border-color: #cccccc;
}

.form-input:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper .form-input {
    padding-right: 50px;
}

.show-password-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666666;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.show-password-btn:hover {
    color: #1a1a1a;
    background-color: #f5f5f5;
}

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

.show-password-btn.showing .eye-icon {
    display: none;
}

.show-password-btn.showing .eye-off-icon {
    display: block !important;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -8px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0066cc;
}

.remember-me:hover {
    color: #1a1a1a;
}

.forgot-password-link {
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password-link:hover {
    color: #0052a3;
    text-decoration: underline;
}

.login-submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #1a1a1a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.login-submit-btn:hover {
    background-color: #2a2a2a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.login-submit-btn:active {
    background-color: #000000;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 32px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
}

.divider-text {
    font-size: 12px;
    font-weight: 600;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sso-section {
    text-align: center;
}

.sso-text {
    font-size: 14px;
    color: #666666;
    margin: 0 0 12px 0;
}

.sso-link {
    display: inline-block;
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    padding: 8px 16px;
    border-radius: 6px;
}

.sso-link:hover {
    color: #0052a3;
    background-color: #f0f7ff;
    text-decoration: none;
}

.login-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.signup-prompt {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

.signup-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.signup-link:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-error {
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.alert-success {
    background-color: #efe;
    border: 1px solid #cfc;
    color: #3c3;
}

.error-list {
    margin: 0;
    padding-left: 20px;
}

.error-list li {
    margin-bottom: 8px;
}

.error-list li:last-child {
    margin-bottom: 0;
}

.form-input.error {
    border-color: #dc3545 !important;
}

.form-input.error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1) !important;
}

/* Register Page Specific Styles */
.password-hint {
    font-size: 12px;
    color: #666666;
    margin: 4px 0 0 0;
    line-height: 1.4;
}

.terms-checkbox,
.newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
    line-height: 1.5;
}

.terms-checkbox input[type="checkbox"],
.newsletter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #0066cc;
    flex-shrink: 0;
}

.terms-checkbox a,
.newsletter-checkbox a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.terms-checkbox a:hover,
.newsletter-checkbox a:hover {
    color: #0052a3;
    text-decoration: underline;
}

.terms-checkbox:hover,
.newsletter-checkbox:hover {
    color: #1a1a1a;
}

.form-input.error {
    border-color: #dc3545;
}

.form-input.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

@media (max-width: 768px) {
    .login-header {
        padding: 18px 20px;
    }
    
    .login-header-tabs {
        gap: 32px;
    }
    
    .login-main {
        padding: 40px 20px;
    }
    
    .login-form-wrapper {
        padding: 40px 32px;
        border-radius: 10px;
    }
    
    .login-title {
        font-size: 28px;
    }
    
    .login-subtitle {
        font-size: 14px;
    }
}

/* Upload Page Styles */
.upload-page {
    padding: 40px 24px 80px;
    background-color: #f5f7fa;
}

.upload-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.upload-header {
    margin-bottom: 40px;
    text-align: center;
}

.upload-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.upload-subtitle {
    font-size: 16px;
    color: #666666;
    margin: 0;
}

.upload-form {
    width: 100%;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e5e5;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 24px 0;
}

.radio-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: #1a1a1a;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0066cc;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    background-color: #ffffff;
    font-family: inherit;
}

.form-select:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    border: 3px dashed #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #fafafa;
    text-align: center;
}

.file-upload-label:hover {
    border-color: #0066cc;
    background-color: #f0f7ff;
}

.file-upload-label svg {
    color: #666666;
    margin-bottom: 12px;
}

.file-upload-label span:not(.file-name) {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.file-name {
    font-size: 14px;
    color: #666666;
    margin-top: 8px;
}

.file-list {
    margin-top: 16px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 8px;
}

.file-item-name {
    font-size: 14px;
    color: #1a1a1a;
    flex: 1;
}

.file-item-size {
    font-size: 12px;
    color: #666666;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.form-note {
    margin-top: 16px;
    font-size: 13px;
    color: #666666;
    text-align: center;
}

@media (max-width: 768px) {
    .upload-container {
        padding: 24px;
    }
    
    .upload-title {
        font-size: 28px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .login-main {
        padding: 32px 16px;
        min-height: calc(100vh - 77px);
    }
    
    .login-header {
        padding: 16px;
    }
    
    .login-header-content {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .login-header-tabs {
        width: 100%;
        justify-content: space-around;
        border-top: 1px solid #e5e5e5;
        padding-top: 16px;
        gap: 0;
    }
    
    .login-form-wrapper {
        padding: 32px 24px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    }
    
    .login-header-section {
        margin-bottom: 32px;
    }
    
    .login-title {
        font-size: 26px;
    }
    
    .login-subtitle {
        font-size: 13px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

