/* Sports Clubs Hub - Main Stylesheet */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

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

/* Mobile First Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-logo i {
    margin-right: 10px;
    color: #667eea;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color:#667eea;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu {
    position: relative;
    cursor: pointer;
}

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

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 150px;
    display: none;
}

.user-menu:hover .user-dropdown {
    display: block;
}

/* Bell dropdown spacing */
.user-menu .fa-bell { font-size: 1.1rem; color: #667eea; }

.user-dropdown a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}

.user-dropdown a:hover {
    background: #f8f9fa;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.9);
}

/* Quick Search */
.quick-search {
    max-width: 800px;
    margin: 0 auto;
}

.search-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.search-group {
    display: flex;
    flex-direction: column;
}

.search-select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #333;
}

.search-select:focus {
    outline: none;
    border-color: #667eea;
}

.search-btn {
    padding: 12px 24px;
    white-space: nowrap;
}

/* Featured Clubs Section */
.featured-clubs {
    padding: 80px 0;
    background: white;
}

.featured-clubs h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.club-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.club-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.club-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.club-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.club-info {
    padding: 1.5rem;
}

.club-info h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.club-location {
    color: #666;
    margin-bottom: 1rem;
    font-size: 14px;
}

.club-location i {
    margin-right: 5px;
    color: #667eea;
}

.club-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 1rem;
}

.club-sports {
    margin-bottom: 1.5rem;
}

.sport-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #667eea;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}

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

.club-actions .btn {
    flex: 1;
    text-align: center;
}

/* Recent Offers Section */
.recent-offers {
    padding: 80px 0;
    background: #f8f9fa;
}

.recent-offers h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Homepage offers grid - can handle more offers */
.recent-offers .offers-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.offer-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.offer-header {
    background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
    color: white;
    padding: 1.5rem;
}

.offer-header h3 {
    margin-bottom: 0.5rem;
}

.offer-club {
    font-size: 14px;
    opacity: 0.9;
}

.offer-content {
    padding: 1.5rem;
}

.offer-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.discount {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.valid-until {
    font-size: 12px;
    color: #666;
}

.offer-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.offer-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.no-clubs,
.no-offers {
    text-align: center;
    padding: 3rem;
    color: #666;
    grid-column: 1 / -1;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 12px;
    margin-top: 0.25rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

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

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

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .search-row {
        grid-template-columns: 1fr;
    }

    .clubs-grid {
        grid-template-columns: 1fr;
    }

    .offers-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .club-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .search-form {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Filters Section */
.filters-section {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filters-form {
    max-width: 1000px;
    margin: 0 auto;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-btn {
    white-space: nowrap;
}

/* Clubs Section */
.clubs-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

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

.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 8px 16px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Club Details Styles */
.club-header {
    background: white;
    padding: 3rem 0;
}

.club-header-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.club-image-large {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.club-image-large img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.club-info-large h1 {
    color: #333;
    margin-bottom: 1rem;
}

.club-location {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.club-location i {
    margin-right: 8px;
    color: #667eea;
}

.club-contact {
    margin: 1.5rem 0;
}

.club-contact p {
    margin-bottom: 0.5rem;
    color: #666;
}

.club-contact i {
    margin-right: 8px;
    color: #667eea;
    width: 20px;
}

.club-actions-large {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Tabs */
.tabs {
    display: flex;
    background: white;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    background: #f8f9fa;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active {
    background: #667eea;
    color: white;
}

.tab-content {
    display: none;
    background: white;
    padding: 2rem;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.tab-content.active {
    display: block;
}

/* Sports Grid */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.sport-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.sport-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

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

.sport-header h4 {
    margin: 0;
    color: #333;
}

.sport-price {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.sport-details p {
    margin-bottom: 0.5rem;
    color: #666;
}

.availability.available {
    color: #28a745;
    font-weight: 500;
}

.availability.unavailable {
    color: #dc3545;
    font-weight: 500;
}

.sport-actions {
    margin-top: 1rem;
}

/* Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.offer-card-detailed {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.offer-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.offer-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
}

.offer-header h4 {
    margin-bottom: 0.5rem;
}

.offer-dates {
    font-size: 14px;
    opacity: 0.9;
}

.offer-content {
    padding: 1.5rem;
}

.discount-badge {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    margin-top: 1rem;
}

/* Contact Info */
.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-item i {
    color: #667eea;
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    margin: 0;
    color: #666;
}

/* Membership Request */
.membership-request {
    padding: 3rem 0;
    background: #f8f9fa;
}

.request-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.club-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: fit-content;
}

.club-info-card .club-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.club-info-card .club-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.request-form-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.request-form-card h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.no-results-content i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.no-results-content h3 {
    color: #666;
    margin-bottom: 1rem;
}

.no-results-content p {
    color: #999;
    margin-bottom: 2rem;
}

/* Profile Page Styles */
.profile-content {
    padding: 3rem 0;
    background: #f8f9fa;
}

.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.profile-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.profile-info h2 {
    margin-bottom: 0.5rem;
    color: #333;
}

.profile-info p {
    margin-bottom: 0.25rem;
    color: #666;
}

.profile-info i {
    margin-right: 8px;
    color: #667eea;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-form-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.profile-form-card h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.form-text {
    font-size: 12px;
    color: #666;
    margin-top: 0.25rem;
}

.membership-requests-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.membership-requests-card h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.requests-list {
    display: grid;
    gap: 1rem;
}

.request-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.request-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.request-info h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.request-info p {
    margin-bottom: 0.25rem;
    color: #666;
    font-size: 14px;
}

.request-info strong {
    color: #333;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

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

.no-requests i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.no-requests p {
    margin-bottom: 2rem;
}

/* User Dropdown Active State */
.user-dropdown a.active {
    background: #667eea;
    color: white;
}

/* ========================================
   MEMBERSHIP REQUEST PAGE STYLES
   ======================================== */

.membership-request {
    padding: 3rem 0;
    min-height: 60vh;
}

.request-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.club-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.club-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.club-details h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.club-location {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.club-location i {
    font-size: 1.1rem;
}

.club-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.request-form-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.request-form-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control:hover {
    border-color: #667eea;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    min-width: 160px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.text-muted {
    color: #6c757d;
    font-size: 0.9rem;
}

/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVE DESIGN
   ======================================== */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .request-container {
        gap: 2rem;
    }
    
    .club-info-card,
    .request-form-card {
        padding: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem;
        display: block;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Header */
    .header {
        padding: 1rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 2rem 0;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    /* Membership Request */
    .membership-request {
        padding: 2rem 0;
    }
    
    .request-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .club-info-card {
        position: static;
        order: 2;
    }
    
    .request-form-card {
        order: 1;
        padding: 2rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
    
    /* Club Cards */
    .clubs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .club-card {
        margin-bottom: 1.5rem;
    }
    
    /* Club Header */
    .club-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .club-image-large {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .club-actions-large {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Tabs */
    .tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .tab-btn {
        border-bottom: 1px solid #e9ecef;
        border-radius: 0;
    }
    
    .tab-btn:first-child {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
    
    .tab-btn:last-child {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }
    
    /* Forms */
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    /* Admin Dashboard */
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Tables */
    .table-responsive {
        overflow-x: auto;
    }
    
    .table {
        min-width: 600px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    /* Container */
    .container {
        padding: 0 10px;
    }
    
    /* Navigation */
    .nav-logo span {
        display: none;
    }
    
    .nav-logo {
        font-size: 1.5rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 1.5rem 0;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    /* Membership Request */
    .membership-request {
        padding: 1.5rem 0;
    }
    
    .club-info-card,
    .request-form-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .club-image {
        height: 150px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Club Cards */
    .clubs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .club-card {
        margin-bottom: 1rem;
    }
    
    .club-image {
        height: 180px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        text-align: center;
    }
    
    /* Forms */
    .form-actions {
        gap: 0.75rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .club-info-card,
    .request-form-card {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .page-header {
        padding: 1rem 0;
    }
    
    .membership-request {
        padding: 1.5rem 0;
    }
    
    .request-container {
        gap: 1.5rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .club-image img,
    .club-image-large img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .form-actions {
        display: none !important;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .request-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .club-info-card,
    .request-form-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
    
    .view-options {
        justify-content: center;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .request-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
