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

:root {
    /* Brand Colors - Blue & Green */
    --primary-green: #10B981;
    --primary-blue: #3B82F6;
    --dark-green: #059669;
    --dark-blue: #2563EB;
    --light-green: #D1FAE5;
    --light-blue: #DBEAFE;

    /* Neutrals */
    --dark: #0F172A;
    --gray: #64748B;
    --light-gray: #F1F5F9;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    --gradient-light: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
}

body {
    font-family: var(--font-family);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 20px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif !important;
    text-decoration: none;
    cursor: pointer;
    perspective: 1000px;
}

.logo-tee {
    color: white;
}

.logo-mates {
    color: #10B981;
}

/* Animated T - Quick Float on Load */
.animated-t {
    display: inline-block;
    animation: quickFloat 0.8s ease-out;
}

@keyframes quickFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.btn-nav {
    background: var(--gradient-primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--white) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-light);
    color: var(--dark-green);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-description {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid var(--light-gray);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 60px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    padding: 0;
    height: 100%;
    background: #1B2838;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
}

.app-preview::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    background: transparent;
}

.status-icons {
    display: flex;
    gap: 4px;
}

/* Golf App Header - Matches GolfAppHeader.tsx */
.golf-app-header {
    background: linear-gradient(180deg, #1a1f2e 0%, #2a3142 100%);
    padding: 24px 16px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.greeting-text {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 400;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.user-name-large {
    font-size: 30px;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 240px;
}

.stat-box-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stat-number-header {
    font-size: 20px;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 2px;
}

.stat-label-header {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    text-align: center;
}

/* Calendar Scroll Component */
.calendar-scroll {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: #1B2838;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    z-index: 1;
    position: relative;
}

.calendar-scroll::-webkit-scrollbar {
    display: none;
}

.date-chip {
    min-width: 48px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.date-chip:hover {
    background: rgba(255, 255, 255, 0.08);
}

.date-chip.selected {
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.date-num {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.date-chip.selected .date-num {
    color: #10b981;
}

.date-day {
    font-size: 11px;
    font-weight: 400;
    color: #9ca3af;
    text-transform: lowercase;
}

.date-chip.selected .date-day {
    color: #10b981;
}

.date-indicator {
    position: absolute;
    bottom: 8px;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #10b981;
    font-size: 0;
}

/* View Toggle */
.preview-nav {
    display: flex;
    gap: 4px;
    background: #374151;
    padding: 4px;
    border-radius: 10px;
    margin: 12px 16px;
}

.preview-nav span {
    flex: 1;
    text-align: center;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #8E95A3;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.preview-nav span svg {
    stroke: #8E95A3;
}

.preview-nav span.active {
    background: #10b981;
    color: white;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.preview-nav span.active svg {
    stroke: white;
}

/* Distance Filter */
.distance-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px 12px;
    font-size: 10px;
    color: #8E95A3;
}

.distance-filter svg {
    color: var(--primary-green);
}

/* Tee Time Cards */
.preview-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 12px 50px 12px;
    flex: 1;
    overflow-x: hidden;
}

/* New Tee Time Card Structure - Matches NewTeeTimeCard.tsx */
.tee-time-card-new {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.tee-time-card-new:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Top Section: Status + Spots */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.status-badge {
    padding: 4px 6px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
}

.status-badge.confirmed {
    background: #6ee7b7;
    color: #065f46;
}

.status-badge.pending {
    background: #fbbf24;
    color: #92400e;
}

.status-badge.waitlisted {
    background: #e5e7eb;
    color: #4b5563;
}

.spots-badge {
    background: #10b981;
    padding: 4px 8px;
    border-radius: 16px;
}

.spots-badge span {
    font-size: 11px;
    font-weight: 600;
    color: white;
}

/* Date/Time */
.date-time {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

/* Course Name with Green Dot */
.course-name-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.green-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #10b981;
    flex-shrink: 0;
}

.course-name {
    font-size: 16px;
    color: #374151;
    font-weight: 500;
}

/* Weather Widget */
.weather-widget-new {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 20px;
}

.weather-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.weather-condition-new {
    display: flex;
    align-items: center;
    gap: 6px;
}

.weather-icon-new {
    font-size: 18px;
}

.weather-text-new {
    font-size: 14px;
    color: #4b5563;
    font-weight: 500;
}

.temperature-range {
    font-size: 14px;
    color: #111827;
    font-weight: 600;
}

.rain-chance {
    font-size: 11px;
    color: #6b7280;
}

/* Players Section */
.players-section-new {
    margin-bottom: 20px;
}

.players-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.players-count {
    font-size: 14px;
    color: #4b5563;
}

.open-spots {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
}

.players-avatars-new {
    display: flex;
    gap: 8px;
}

.player-avatar-new {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: #10b981;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.player-avatar-new.empty {
    background: #e5e7eb;
    color: #9ca3af;
}

/* Action Buttons */
.action-buttons-new {
    display: flex;
    gap: 12px;
}

.details-btn-new {
    flex: 1;
    background: transparent;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #10b981;
    cursor: pointer;
    transition: all 0.3s;
}

.details-btn-new:hover {
    border-color: #10b981;
}

.join-btn-new {
    flex: 1;
    background: #10b981;
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.join-btn-new:hover {
    background: #059669;
}

/* Invitation Card Specific Styles */
.invitation-card {
    position: relative;
    border: 2px solid #3B82F6;
}

.decline-x-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    background: rgba(239, 68, 68, 0.2);
    border: none;
    color: #ef4444;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.decline-x-btn:hover {
    background: rgba(239, 68, 68, 0.3);
}

.invitation-context {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.invite-badge-new {
    background: #3B82F6;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 8px;
}

.invite-message {
    font-size: 11px;
    color: #374151;
    font-style: italic;
    line-height: 1.5;
}

/* Custom Tee Time Name */
.tee-time-name-custom {
    font-size: 18px;
    color: #111827;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Leave Button */
.leave-btn-new {
    flex: 1;
    background: #ef4444;
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.leave-btn-new:hover {
    background: #dc2626;
}

/* Player Avatar "You" variant */
.player-avatar-new.you {
    background: #3B82F6;
}

.tee-time-card {
    background: white;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1.5px solid transparent;
    transition: all 0.3s;
}

.tee-time-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Old card styles removed - using new .tee-time-card-new structure now */

/* Old invitation card styles removed - using new structure now */

/* Bottom Navigation */
.bottom-nav {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
    padding: 0 !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    box-shadow: 0 -0.5px 0 rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #8E8E93;
    font-size: 9px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    padding: 4px 2px !important;
    margin: 0 !important;
    flex: 1;
    height: 50px !important;
}

.nav-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1;
}

.nav-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: all 0.2s;
    flex-shrink: 0;
}

.nav-item:hover svg {
    opacity: 0.7;
    transform: scale(1.05);
}

.nav-item.active {
    color: #007AFF;
}

.nav-item.active svg {
    opacity: 1;
}

/* App Screens Container */
.app-screens {
    flex: 1;
    overflow: visible;
    position: relative;
}

.screen {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    overflow-x: visible;
    padding-bottom: 50px;
    background: #1B2838;
}

.screen.active {
    display: flex;
}

/* Screen Headers */
.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: white;
}

.create-btn-small, .search-btn-small {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* TEE TIMES SCREEN */
.tee-times-filters {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: transparent;
}

.filter-chip {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #8E95A3;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-chip.active {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.tee-times-list {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
}

.tee-time-list-item {
    display: flex;
    gap: 12px;
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    align-items: center;
}

.list-item-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--light-blue);
    padding: 8px 10px;
    border-radius: 8px;
    min-width: 50px;
}

.date-day {
    font-size: 9px;
    font-weight: 700;
    color: var(--dark-blue);
}

.date-num {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark-blue);
}

.list-item-details {
    flex: 1;
}

.list-item-details h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.list-item-details p {
    font-size: 10px;
    color: var(--gray);
    margin-bottom: 6px;
}

.list-item-tags {
    display: flex;
    gap: 6px;
}

.tag-small {
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    background: var(--light-gray);
    color: var(--gray);
}

.tag-small.green {
    background: var(--light-green);
    color: var(--dark-green);
}

.tag-small.blue {
    background: var(--light-blue);
    color: var(--dark-blue);
}

.list-item-status {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.list-item-status.confirmed {
    background: var(--light-green);
    color: var(--dark-green);
}

.list-item-status.pending {
    background: #FEF3C7;
    color: #92400E;
}

.list-item-status.open {
    background: var(--light-blue);
    color: var(--dark-blue);
}

.create-btn-large {
    margin: 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* FAB Button */
.fab-button {
    position: fixed;
    bottom: 90px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    transition: all 0.3s;
    z-index: 10;
}

.fab-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45);
}

/* GROUPS SCREEN */
.groups-tabs, .friends-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.groups-tab, .friends-tab {
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #8E95A3;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.groups-tab.active, .friends-tab.active {
    background: #10b981;
    color: white;
}

.badge-count {
    background: var(--primary-blue);
    color: white;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.badge-count.red {
    background: #EF4444;
}

.groups-content, .friends-list {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
}

.group-list-item, .friend-item {
    display: flex;
    gap: 12px;
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.group-list-item:hover, .friend-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.group-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.group-details, .friend-details {
    flex: 1;
}

.group-details h4, .friend-details h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.group-details p, .friend-details p {
    font-size: 10px;
    color: var(--gray);
    margin-bottom: 6px;
}

.group-tags-small {
    display: flex;
    gap: 4px;
}

.tag-tiny {
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    background: var(--light-gray);
    color: var(--gray);
}

.group-arrow {
    font-size: 16px;
    color: var(--gray);
}

/* FRIENDS SCREEN */
.friend-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.friend-avatar.blue {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.friend-avatar.green {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.friend-avatar.purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.friend-avatar.orange {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.friend-avatar.teal {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
}

.friend-status {
    font-size: 14px;
}

.friend-status.online {
    color: var(--primary-green);
}

.friend-status.offline {
    color: var(--gray);
}

.friend-status.playing {
    font-size: 16px;
}

/* PROFILE SCREEN */
.profile-header {
    background: var(--gradient-primary);
    padding: 24px 16px;
    text-align: center;
    color: white;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    color: var(--primary-blue);
    font-size: 32px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-header h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.profile-email {
    font-size: 11px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.profile-handicap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.handicap-label {
    font-size: 10px;
    opacity: 0.9;
    margin-bottom: 2px;
}

.handicap-value {
    font-size: 24px;
    font-weight: 800;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    background: white;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    background: var(--light-gray);
    border-radius: 10px;
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 9px;
    color: var(--gray);
    font-weight: 600;
    text-align: center;
}

.profile-preferences {
    padding: 16px;
    background: white;
}

.profile-preferences h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.pref-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F1F5F9;
    font-size: 11px;
}

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

.pref-value {
    color: var(--gray);
    font-weight: 600;
}

.profile-actions {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: var(--gradient-primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.profile-btn.secondary {
    background: var(--light-gray);
    color: var(--dark);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray);
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: white;
}

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

.feature-card {
    padding: 32px;
    background: var(--light-gray);
    border-radius: 16px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon.green {
    background: var(--light-green);
    color: var(--dark-green);
}

.feature-icon.blue {
    background: var(--light-blue);
    color: var(--dark-blue);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Groups Section */
.groups-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, white 0%, var(--light-gray) 100%);
}

/* Filter Buttons */
.group-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
    padding: 0 20px;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    background: white;
    color: var(--gray);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2563eb 100%);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

/* Search Bar */
.group-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto 48px;
}

.search-input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
}

/* Groups Grid */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.group-card {
    background: white;
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.group-card:hover::before {
    transform: scaleX(1);
}

.group-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary-blue);
    box-shadow: 0 24px 48px rgba(59, 130, 246, 0.2);
}

.group-card.hidden {
    display: none;
}

.group-emoji {
    font-size: 56px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.group-card:hover .group-emoji {
    transform: scale(1.2) rotate(5deg);
}

.group-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.group-card:hover h3 {
    color: var(--primary-blue);
}

.group-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
    min-height: 48px;
}

.group-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* Tag Styles with Colors */
.tag {
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag-skill {
    background: linear-gradient(135deg, #fef3c7 0%, #fde047 100%);
    color: #854d0e;
}

.tag-style {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    color: #5b21b6;
}

.tag-format {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: #9f1239;
}

.tag-timing {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    color: #115e59;
}

.tag-social {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    color: #9a3412;
}

.tag-demo {
    background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
    color: #1e3a8a;
}

.tag-competitive {
    background: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
    color: #7f1d1d;
}

.tag-casual {
    background: linear-gradient(135deg, #d9f99d 0%, #bef264 100%);
    color: #365314;
}

.tag-beginner {
    background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
    color: #064e3b;
}

/* Browse All Button */
.browse-all-container {
    text-align: center;
    margin: 48px 0;
}

.browse-all-container .btn {
    font-size: 16px;
    padding: 16px 32px;
    transition: all 0.3s ease;
}

.browse-all-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

/* CTA Section */
.groups-cta {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.groups-cta h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.groups-cta p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.groups-cta .btn {
    margin: 0 8px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .groups-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation - Standard 56px height */
    .nav {
        padding: 8px 0 !important;
        height: auto !important;
        min-height: 56px !important;
    }

    .nav .container {
        padding: 0 16px !important;
    }

    .nav-content {
        height: 60px !important;
        min-height: 60px !important;
        align-items: center !important;
    }

    .logo {
        font-size: 24px !important;
        gap: 0 !important;
        line-height: 1 !important;
    }

    .logo-icon {
        width: 45px !important;
        height: 45px !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        padding: 10px !important;
        height: auto !important;
        gap: 5px !important;
    }

    .mobile-menu-toggle span {
        width: 28px !important;
        height: 3px !important;
    }

    .nav-links {
        display: none !important;
    }

    .hero {
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
        padding: 10px;
        border-radius: 36px;
    }

    .phone-screen {
        border-radius: 28px;
    }

    /* Scale down phone mockup internal elements by 10% */
    .status-bar {
        padding: 7px 14px;
        font-size: 10px;
    }

    .golf-app-header {
        padding: 22px 14px 18px;
    }

    .greeting-text {
        font-size: 12px;
    }

    .user-name-large {
        font-size: 27px;
        margin-bottom: 18px;
    }

    .stat-number-header {
        font-size: 18px;
    }

    .stat-label-header {
        font-size: 8px;
    }

    .calendar-scroll {
        gap: 7px;
        padding: 14px;
    }

    .date-chip {
        min-width: 43px;
        height: 63px;
        border-radius: 10px;
    }

    .bottom-nav {
        height: 45px !important;
        min-height: 45px !important;
        max-height: 45px !important;
    }

    .nav-item {
        font-size: 8px;
        height: 45px !important;
    }

    .nav-item svg {
        width: 18px;
        height: 18px;
    }

    .screen-header {
        padding: 14px;
    }

    .screen-header h3 {
        font-size: 18px;
    }

    .hero-stats {
        justify-content: center;
        gap: 40px;
    }

    .groups-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .group-card {
        padding: 24px 16px;
    }

    .group-emoji {
        font-size: 42px;
    }

    .group-card h3 {
        font-size: 18px;
    }

    .groups-cta h3 {
        font-size: 24px;
    }

    .groups-cta .btn {
        display: block;
        margin: 8px auto;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 180px;
        height: 360px;
        padding: 9px;
        border-radius: 32px;
    }

    .phone-screen {
        border-radius: 26px;
    }

    /* Scale down phone mockup internal elements by 20% */
    .status-bar {
        padding: 6px 13px;
        font-size: 9px;
    }

    .golf-app-header {
        padding: 19px 13px 16px;
    }

    .greeting-text {
        font-size: 10px;
    }

    .user-name-large {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .stat-number-header {
        font-size: 16px;
    }

    .stat-label-header {
        font-size: 7px;
    }

    .calendar-scroll {
        gap: 6px;
        padding: 13px;
    }

    .date-chip {
        min-width: 38px;
        height: 56px;
        border-radius: 10px;
    }

    .bottom-nav {
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }

    .nav-item {
        font-size: 7px;
        height: 40px !important;
    }

    .nav-item svg {
        width: 16px;
        height: 16px;
    }

    .screen-header {
        padding: 13px;
    }

    .screen-header h3 {
        font-size: 16px;
    }

    .hero {
        padding-bottom: 40px !important;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

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

    .group-filters {
        gap: 8px;
    }

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

/* How It Works */
.how-it-works {
    padding: var(--section-padding);
    background: white;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 32px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.step-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.step-content p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
}

/* Testimonials */
.testimonials {
    padding: var(--section-padding);
    background: var(--light-gray);
}

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

.testimonial {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-stars {
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial p {
    font-size: 16px;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author strong {
    display: block;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--gray);
}

/* Download Section */
.download-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-content > p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.store-button:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-2px);
}

.store-button svg {
    width: 32px;
    height: 32px;
}

.store-button small {
    display: block;
    font-size: 12px;
    text-align: left;
}

.store-button strong {
    display: block;
    font-size: 18px;
    text-align: left;
}

.download-note {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-tee {
    color: white;
}

.footer-brand .logo-mates {
    color: #10B981;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

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

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

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

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        display: flex;
        justify-content: center;
        order: 2;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

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

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

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

/* ============================================
   SIGN-UP MODAL STYLES
   ============================================ */

/* Profile Modal */
.profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
}

.profile-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #94a3b8;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #64748b;
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.modal-header p {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 16px;
}

.step-indicator {
    display: inline-block;
    background: linear-gradient(135deg, #10B981, #3B82F6);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

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

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: white;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.form-group select {
    cursor: pointer;
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-label:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: #3B82F6;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-label:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.radio-label input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked {
    accent-color: #3B82F6;
}

.radio-label input[type="radio"]:checked ~ span {
    font-weight: 600;
    color: #3B82F6;
}

/* Range Input */
.form-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    margin-top: 12px;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #3B82F6);
    cursor: pointer;
}

.form-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #3B82F6);
    cursor: pointer;
    border: none;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.form-actions button {
    flex: 1;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 11000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    color: white;
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .profile-modal {
        padding: 0;
    }

    .modal-content {
        border-radius: 0;
        padding: 30px 20px;
        max-height: 100vh;
        overflow-y: auto;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions button {
        width: 100%;
    }
}

/* Button enhancements for signup buttons */
.signup-btn {
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.3);
}

.btn-nav.signup-btn {
    background: none;
    padding: 0.5rem 1.5rem;
    border: 2px solid transparent;
}

.btn-nav.signup-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3B82F6;
    transform: none;
    box-shadow: none;
}

/* Remove number input spinner arrows for cleaner look */
.form-group input[type="number"]::-webkit-inner-spin-button,
.form-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-group input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
