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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav {
    display: flex;
    gap: 2rem;
}

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.mobile-nav .nav-link:last-child {
    border-bottom: none;
}

/* Main Content */
.main {
    min-height: calc(100vh - 140px);
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.grid-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-card:hover {
    border-color: #4a7c59;
    box-shadow: 0 10px 30px rgba(74, 124, 89, 0.2);
}

.grid-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.grid-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 1rem;
}

.grid-description {
    color: #666;
    font-size: 1rem;
}

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

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #000;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

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

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4a7c59;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #4a7c59;
    color: white;
    width: 100%;
}

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

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

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

.btn-warning {
    background-color: #ffc107;
    color: #212529;
    border: 1px solid #ffc107;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

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

.btn-danger:hover {
    background-color: #c82333;
}

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

.btn-success:hover {
    background-color: #218838;
}

/* Logo styling */
.logo {
    transition: transform 0.2s ease;
}

/* Tips Page Styles */
.tips-page {
    max-width: 800px;
    margin: 0 auto;
}

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

.tips-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1rem;
}

.back-btn {
    background-color: #6c757d;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 2rem;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #545b62;
}

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

.tip-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #4a7c59;
}

.tip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.tip-match {
    font-weight: 600;
    color: #2c5530;
    font-size: 1.2rem;
}

.tip-time {
    background: #4a7c59;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tip-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.tip-detail {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.tip-detail-label {
    font-weight: 500;
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tip-detail-value {
    font-weight: 700;
    color: #2c5530;
    font-size: 1.1rem;
}


/* Date Section Styles */
.date-section {
    margin-bottom: 2rem;
}

.date-header {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px 10px 0 0;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.tips-for-date {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
    border: 1px solid #dee2e6;
    border-top: none;
}

.tip-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.no-tips {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.admin-dashboard h3 {
    color: #2c5530;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

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

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #4a7c59;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
    opacity: 0.8;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5530;
    line-height: 1;
    margin-bottom: 0.25rem;
}

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

.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #4a7c59;
}

.summary-card h4 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.summary-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a7c59;
    line-height: 1;
}

.summary-text {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

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

.admin-section h3 {
    color: #2c5530;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #4a7c59;
    padding-bottom: 0.5rem;
}

/* Admin Page Specific Styles */
.admin-login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
}

.login-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.login-card h2 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.login-card p {
    color: #666;
    margin-bottom: 2rem;
}

.admin-dashboard-container {
    padding: 2rem 0;
}

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

.admin-management h3 {
    color: #2c5530;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.tip-type-selector {
    margin-bottom: 2rem;
    text-align: center;
}

.tip-type-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c5530;
}

.tip-type-selector select {
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    min-width: 200px;
}

.tip-management-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #4a7c59;
}

.tip-info {
    flex: 1;
}

.tip-match {
    font-weight: 600;
    color: #2c5530;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.tip-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.tip-details span {
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #666;
}

.tip-date {
    color: #999;
    font-size: 0.9rem;
}

.tip-actions {
    display: flex;
    gap: 0.5rem;
}

.tip-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    min-height: auto;
}

.tip-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.tip-form input,
.tip-form select {
    padding: 0.5rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

.tip-form input:focus,
.tip-form select:focus {
    outline: none;
    border-color: #4a7c59;
}

.tip-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Page Content Styles */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5530;
    text-align: center;
    margin-bottom: 1rem;
}

.last-updated {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

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

.policy-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h3 {
    color: #2c5530;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.policy-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.policy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contact-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #4a7c59;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Contact Page Styles */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.contact-card h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 1.5rem;
}

.contact-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

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

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

.contact-item a {
    color: #4a7c59;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

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

.contact-form h3 {
    color: #2c5530;
    margin-bottom: 1.5rem;
}

.faq-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.faq-section h3 {
    color: #2c5530;
    margin-bottom: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h4 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #2c5530;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        position: relative;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .grid-card {
        padding: 1.5rem;
    }
    
    .tips-title {
        font-size: 2rem;
    }
    
    .tip-details {
        grid-template-columns: 1fr;
    }
    
    .tip-form {
        grid-template-columns: 1fr;
    }
    
    .tip-actions {
        justify-content: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-card,
    .contact-form,
    .faq-section,
    .policy-content {
        padding: 1.5rem;
    }
    
    /* Mobile dashboard styles */
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .dashboard-summary {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .summary-card {
        padding: 1rem;
    }
    
    .summary-number {
        font-size: 2rem;
    }
    
    .admin-dashboard {
        padding: 1rem;
    }
    
    .admin-section {
        padding: 1rem;
    }
    
    /* Mobile admin page styles */
    .login-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .admin-management {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .tip-management-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .tip-actions {
        justify-content: center;
    }
    
    .tip-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Admin Add Tip Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal {
    background: #fff;
    border-radius: 12px;
    width: 95%;
    max-width: 720px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

.modal-title {
    font-weight: 700;
    color: #2c5530;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
}

.modal-body {
    padding: 1rem 1.25rem 1.25rem;
}

.floating-add-btn {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #4a7c59;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 9998;
}

.floating-add-btn:hover {
    background: #3e6b4c;
}

/* Admin Tip Type Tabs */
.tip-type-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tip-tab {
    border: 1px solid #4a7c59;
    color: #2c5530;
    background: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
}

.tip-tab.active {
    background: #4a7c59;
    color: #fff;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .grid-card {
        padding: 1rem;
    }
    
    .grid-icon {
        font-size: 2rem;
    }
    
    .grid-title {
        font-size: 1.2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
}

/* ==================== MATCH RESULT TRACKING STYLES ==================== */

.match-results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.match-result-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.match-result-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.match-info {
    flex: 1;
}

.match-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.match-date {
    font-weight: 600;
    color: #4a7c59;
}

.match-time {
    color: #666;
}

.match-league {
    color: #888;
    font-style: italic;
}

.match-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.match-details strong {
    font-size: 1.1rem;
    color: #333;
}

.prediction {
    color: #4a7c59;
    font-weight: 500;
}

.odds {
    color: #666;
    font-size: 0.9rem;
}

.match-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.status-pending {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

.status-actions {
    display: flex;
    gap: 0.25rem;
}

.btn-status {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-status:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-won {
    background: #d4edda;
    color: #155724;
}

.btn-won:hover {
    background: #c3e6cb;
}

.btn-lost {
    background: #f8d7da;
    color: #721c24;
}

.btn-lost:hover {
    background: #f5c6cb;
}

.btn-draw {
    background: #fff3cd;
    color: #856404;
}

.btn-draw:hover {
    background: #ffeaa7;
}

.btn-pending {
    background: #e2e3e5;
    color: #383d41;
}

.btn-pending:hover {
    background: #d6d8db;
}

/* Success Rate Display */
.success-rate {
    background: linear-gradient(135deg, #4a7c59, #2c5530);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin: 1rem 0;
}

.success-rate h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.success-rate .rate-number {
    font-size: 2rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.success-rate .rate-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Colored borders for match cards based on status */
.tip-item-won {
    border-left: 5px solid #28a745 !important;
    background: linear-gradient(90deg, rgba(40, 167, 69, 0.05) 0%, rgba(255, 255, 255, 1) 10%);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.tip-item-lost {
    border-left: 5px solid #dc3545 !important;
    background: linear-gradient(90deg, rgba(220, 53, 69, 0.05) 0%, rgba(255, 255, 255, 1) 10%);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.tip-item-won:hover {
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
}

.tip-item-lost:hover {
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
}

/* Status badges in tip items */
.tip-detail .status-badge {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tip-status .status-badge {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Responsive for Match Results */
@media (max-width: 768px) {
    .match-result-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .match-status {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .status-actions {
        gap: 0.5rem;
    }
    
    .btn-status {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .match-header {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Mobile Form Improvements */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }
    
    .form-group input {
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 8px;
        min-height: 48px; /* Better touch target */
        border: 2px solid #ddd;
    }
    
    .form-group input:focus {
        border-color: #4a7c59;
        box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
    }
    
    /* Date input specific mobile styles */
    .form-group input[type="date"] {
        padding: 0.875rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    /* Admin form improvements */
    .admin-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .tip-form {
        gap: 1.5rem;
    }
    
    /* Button improvements for mobile */
    .btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-height: 48px;
        border-radius: 8px;
    }
    
    /* Tip type selector mobile */
    .tip-type-selector {
        margin-bottom: 2rem;
    }
    
    .tip-type-selector label {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1rem;
        display: block;
    }
    
    .tip-type-selector select {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 8px;
        min-height: 48px;
        border: 2px solid #ddd;
    }
    
    /* Mobile device specific styles */
    .mobile-device .mobile-form {
        padding: 1rem;
    }
    
    .mobile-device .mobile-btn {
        transition: transform 0.1s ease;
    }
    
    .mobile-device .mobile-btn:active {
        transform: scale(0.98);
    }
    
    /* Touch feedback for inputs */
    .mobile-device input:focus,
    .mobile-device select:focus,
    .mobile-device textarea:focus {
        transform: scale(1.02);
        transition: transform 0.1s ease;
    }
    
    /* Mobile Vertical Layout */
    .mobile-tips-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .mobile-tip-card {
        width: 100%;
        background: #fff;
        border: 2px solid #4a7c59;
        border-radius: 12px;
        padding: 1rem;
        color: #333;
        position: relative;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .mobile-tip-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
    }
    
    .mobile-tip-league {
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }
    
    .mobile-tip-time {
        font-size: 14px;
        font-weight: 600;
        color: #4a7c59;
        background: rgba(74, 124, 89, 0.2);
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
    }
    
    .mobile-tip-teams {
        font-size: 16px;
        font-weight: 700;
        color: #333;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .mobile-tip-prediction {
        font-size: 12px;
        color: #666;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .mobile-tip-odds {
        font-size: 14px;
        color: #4a7c59;
        font-weight: 600;
        margin-bottom: 0.5rem;
        text-align: center;
        background: rgba(74, 124, 89, 0.1);
        padding: 0.5rem;
        border-radius: 6px;
    }
    
    .mobile-tip-status {
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        padding: 0.5rem;
        border-radius: 8px;
        margin-top: auto;
    }
    
    .mobile-tip-status.pending {
        color: #FFA500;
        background: rgba(255, 165, 0, 0.1);
    }
    
    .mobile-tip-status.won {
        color: #00FF00;
        background: rgba(0, 255, 0, 0.1);
    }
    
    .mobile-tip-status.lost {
        color: #FF0000;
        background: rgba(255, 0, 0, 0.1);
    }
    
    /* Compact vertical cards for better mobile experience */
    .mobile-tip-card {
        margin-bottom: 1rem;
    }
    
    /* Mobile admin action buttons */
    .mobile-tip-actions {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .mobile-tip-actions .btn {
        flex: 1;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Mobile Date Headers - matching desktop design */
    .mobile-date-section {
        margin-bottom: 2rem;
    }
    
    .mobile-date-header {
        background: #4a7c59;
        color: white;
        padding: 1rem;
        margin: 0 0 1rem 0;
        border-radius: 8px;
        text-align: center;
        font-size: 16px;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(74, 124, 89, 0.3);
    }
    
    .mobile-tips-for-date {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}
