/* assets/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation */
nav {
    background: #1e1e2f;
    color: white;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #0056b3;
}

.btn-danger {
    background: #dc3545;
}

.btn-success {
    background: #28a745;
}

.btn-warning {
    background: #ffc107;
    color: #333;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #f8f9fa;
    font-weight: bold;
}

tr:hover {
    background: #f5f5f5;
}

/* Dashboard Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 10px;
    color: #007bff;
}

/* Match Cards */
.match-card {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.vs {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

/* Markets */
.market-container {
    background: #f8f9fa;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.selections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.selection-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.selection-btn:hover {
    background: #007bff;
    color: white;
}

.odds-up {
    color: green;
    font-weight: bold;
}

.odds-down {
    color: red;
    font-weight: bold;
}

/* Bet Slip */
.bet-slip {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: none;
    z-index: 1000;
}

.bet-slip.open {
    display: block;
}

.bet-slip-header {
    background: #1e1e2f;
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

.bet-slip-content {
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.bet-slip-footer {
    padding: 15px;
    border-top: 1px solid #ddd;
}

/* Status Badges */
.status-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.status-upcoming { background: #ffc107; color: #333; }
.status-live { background: #28a745; color: white; }
.status-finished { background: #6c757d; color: white; }
.status-open { background: #28a745; color: white; }
.status-locked { background: #dc3545; color: white; }
.status-ended { background: #6c757d; color: white; }

/* Alerts */
.alert {
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #1e1e2f;
        display: none;
        padding: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .match-teams {
        flex-direction: column;
    }
    
    .vs {
        margin: 10px 0;
    }
    
    .bet-slip {
        left: 20px;
        right: 20px;
        width: auto;
    }
}