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

/* Global mobile optimizations */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

/* Authentication Section */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    font-size: 2.5rem;
    color: #667eea;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.subtitle {
    color: #666;
    font-size: 1rem;
    font-weight: 400;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 5px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #666;
    min-height: 44px; /* Touch-friendly target */
}

.tab-btn.active {
    background: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 1.1rem;
}

.form-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    min-height: 48px; /* Touch-friendly input */
}

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

.auth-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    min-height: 48px; /* Touch-friendly button */
}

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

/* OTP Verification Section */
.otp-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.otp-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.otp-header {
    text-align: center;
    margin-bottom: 30px;
}

.otp-header .logo i {
    font-size: 2.5rem;
    color: #667eea;
}

.otp-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 10px 0;
}

.otp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.otp-input-group {
    text-align: center;
}

.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.otp-input {
    width: 50px;
    height: 60px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    background: #fff;
    transition: all 0.3s ease;
    min-height: 60px; /* Touch-friendly target */
}

.otp-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: scale(1.05);
}

.otp-input.filled {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.otp-hint {
    color: #666;
    font-size: 0.9rem;
    margin-top: 10px;
}

.otp-timer {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.otp-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px; /* Touch-friendly button */
}

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

.otp-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.resend-btn {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px; /* Touch-friendly target */
}

.resend-btn:hover:not(:disabled) {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

.resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
    color: #999;
}

.back-auth-btn {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px; /* Touch-friendly target */
}

.back-auth-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
    transform: translateY(-1px);
}

/* Main App Styles */
.main-app {
    min-height: 100vh;
    background: #f8f9fa;
}

.app-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.header-content .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-content .logo h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    min-height: 44px; /* Touch-friendly target */
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Sport Selection */
.sport-selection {
    padding: 40px 0;
}

.sport-selection h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.sport-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    min-height: 200px; /* Consistent card height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

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

.sport-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.sport-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Betting Setup */
.betting-setup {
    padding: 40px 0;
}

.setup-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.back-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    min-height: 44px; /* Touch-friendly target */
}

.back-btn:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.setup-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

.setup-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.match-setup, .odds-setup, .analysis-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.match-setup h3, .odds-setup h3, .analysis-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.match-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-row .form-group {
    display: flex;
    flex-direction: column;
}

.form-row label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-row input {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 44px; /* Touch-friendly input */
}

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

.odds-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.outcome-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border: 2px solid #e1e5e9;
    transition: all 0.3s ease;
}

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

.outcome-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.odds-input, .stake-input {
    margin-bottom: 15px;
}

.odds-input label, .stake-input label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.odds-input input, .stake-input input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 44px; /* Touch-friendly input */
}

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

.potential-win {
    text-align: center;
    padding: 15px;
    background: #e8f5e8;
    border-radius: 8px;
    color: #2d5a2d;
    font-weight: 600;
    font-size: 1.1rem;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.analysis-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 2px solid #e1e5e9;
}

.analysis-card h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 10px;
}

.analysis-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.save-btn, .clear-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px; /* Touch-friendly buttons */
}

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

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

.clear-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e1e5e9;
}

.clear-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .logo i {
        font-size: 2rem;
    }
    
    .otp-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .otp-header h1 {
        font-size: 1.8rem;
    }
    
    .otp-input-container {
        gap: 8px;
    }
    
    .otp-input {
        width: 45px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .sports-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sport-card {
        padding: 25px 20px;
    }
    
    .sport-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .sport-card h3 {
        font-size: 1.3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .odds-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .outcome-card {
        padding: 20px;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .analysis-card {
        padding: 20px;
    }
    
    .analysis-value {
        font-size: 1.2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .save-btn, .clear-btn {
        width: 100%;
        padding: 15px;
    }
    
    .setup-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .setup-header h2 {
        font-size: 1.5rem;
    }
    
    .match-setup, .odds-setup, .analysis-section {
        padding: 20px;
    }
    
    .sport-selection h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .user-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .logout-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 25px 15px;
        margin: 5px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .logo i {
        font-size: 1.8rem;
    }
    
    .otp-card {
        padding: 25px 15px;
        margin: 5px;
    }
    
    .otp-header h1 {
        font-size: 1.6rem;
    }
    
    .otp-input-container {
        gap: 6px;
    }
    
    .otp-input {
        width: 40px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .sport-selection {
        padding: 20px 0;
    }
    
    .sport-selection h2 {
        font-size: 1.8rem;
    }
    
    .sport-card {
        padding: 20px 15px;
        min-height: 120px;
    }
    
    .sport-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .sport-card h3 {
        font-size: 1.1rem;
    }
    
    .sport-card p {
        font-size: 0.85rem;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .analysis-card {
        padding: 15px;
    }
    
    .analysis-value {
        font-size: 1.1rem;
    }
    
    .match-setup, .odds-setup, .analysis-section {
        padding: 15px;
    }
    
    .setup-header h2 {
        font-size: 1.3rem;
    }
    
    .match-setup h3, .odds-setup h3, .analysis-section h3 {
        font-size: 1.1rem;
    }
    
    .outcome-card {
        padding: 15px;
    }
    
    .outcome-card h4 {
        font-size: 1rem;
    }
    
    .potential-win {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .form-group input {
        font-size: 16px;
    }
    
    .form-row input {
        font-size: 16px;
    }
    
    .odds-input input, .stake-input input {
        font-size: 16px;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .sport-card:hover {
        transform: none;
        border-color: #e1e5e9;
    }
    
    .outcome-card:hover {
        transform: none;
        border-color: #e1e5e9;
    }
    
    .auth-btn:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
    }
    
    .save-btn:hover, .clear-btn:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .back-btn:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .logout-btn:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.2);
    }
    
    .otp-btn:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
    }
    
    .resend-btn:hover:not(:disabled) {
        transform: none;
        background: transparent;
        color: #667eea;
    }
    
    .back-auth-btn:hover {
        transform: none;
        background: transparent;
        border-color: #ddd;
    }
    
    .sport-card:active {
        transform: scale(0.98);
        border-color: #667eea;
    }
    
    .auth-btn:active, .save-btn:active, .clear-btn:active, .back-btn:active, .logout-btn:active, .otp-btn:active, .resend-btn:active, .back-auth-btn:active {
        transform: scale(0.98);
    }
    
    /* Ensure buttons are properly clickable on mobile */
    button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        cursor: pointer;
    }
    
    /* Improve touch targets */
    .sport-card, .outcome-card, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Prevent text selection on buttons */
    button, .sport-card, .outcome-card {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

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

.sport-card, .outcome-card, .analysis-card {
    animation: fadeIn 0.5s ease-out;
}

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

/* Success/Error States */
.success {
    border-color: #28a745 !important;
    background-color: #d4edda !important;
}

.error {
    border-color: #dc3545 !important;
    background-color: #f8d7da !important;
}

/* My Bets Section */
.my-bets {
    padding: 20px 0;
    min-height: calc(100vh - 80px);
}

.bets-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.bets-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
}

.bets-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.bet-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

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

.bet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.bet-sport {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.bet-date {
    font-size: 12px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 12px;
}

.bet-match {
    margin-bottom: 20px;
}

.bet-teams {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.bet-time {
    font-size: 14px;
    color: #6c757d;
}

.bet-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.bet-detail-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.bet-detail-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.bet-detail-value {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.bet-analysis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.analysis-item {
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.analysis-label {
    font-size: 11px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 3px;
}

.analysis-value {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
}

.risk-high {
    color: #dc3545 !important;
}

.risk-medium {
    color: #ffc107 !important;
}

.risk-low {
    color: #28a745 !important;
}

.bet-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.bet-action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.delete-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.delete-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.edit-btn {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.edit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.no-bets {
    text-align: center;
    padding: 60px 20px;
}

.no-bets-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-bets-content i {
    font-size: 64px;
    color: #6c757d;
    margin-bottom: 20px;
}

.no-bets-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 24px;
}

.no-bets-content p {
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.create-bet-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

/* My Bets Button in Header */
.my-bets-btn {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 10px;
}

.my-bets-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

/* Mobile responsive for My Bets */
@media (max-width: 768px) {
    .bets-list {
        grid-template-columns: 1fr;
    }
    
    .bet-card {
        padding: 20px;
    }
    
    .bet-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .bet-analysis {
        grid-template-columns: 1fr;
    }
    
    .bet-actions {
        flex-direction: column;
    }
    
    .my-bets-btn {
        margin-right: 5px;
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Competition Selection Styles */
.competition-selection {
    padding: 40px 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.competitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.competition-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.competition-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.competition-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.competition-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Participant Selection Styles */
.participant-selection {
    padding: 40px 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.selected-teams {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px; /* Increased from 20px */
    margin: 30px 0; /* Increased margin for more space around */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.selected-team {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.selected-team:last-child {
    margin-bottom: 0;
}

.team-name {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.participant-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.participant-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.participant-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.participant-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

/* Mobile Responsive for new sections */
@media (max-width: 768px) {
    .competitions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .competition-card {
        padding: 25px 20px;
    }
    
    .competition-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .competition-card h3 {
        font-size: 1.2rem;
    }
    
    .participants-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .participant-card {
        padding: 15px 10px;
    }
    
    .participant-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .participant-card h3 {
        font-size: 1rem;
    }
    
    .selected-teams {
        padding: 25px; /* Increased from 15px */
        margin: 20px 0; /* Added margin for mobile */
    }
    
    .selected-team {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .competition-card {
        padding: 20px 15px;
    }
    
    .competition-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .competition-card h3 {
        font-size: 1.1rem;
    }
    
    .participants-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .participant-card {
        padding: 12px 8px;
    }
    
    .participant-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .participant-card h3 {
        font-size: 0.9rem;
    }
}
