.sportbet-container {
    max-width: 1400px;
    margin: 0 auto;
}
.sport-filters {
    background: #ccbda8;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.sport-filter-btn {
    padding: 8px 16px;
    background: #cdbda7;
    border: 1px solid #907e64;
    color: #fff !important;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}
.sport-filter-btn:hover, .sport-filter-btn.active {
    background: #8b7e66;
    border-color: #8b7e66;
    color: #fff !important;
}
.sport-filter-btn i {
    color: #fff !important;
}
.event-card {
    background: #ccbda8;
    border: 1px solid #907e64;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
}
.event-card:hover {
    border-color: #8b7e66;
    box-shadow: 0 0 10px rgba(0,102,204,0.3);
}
.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #907e64;
}
.event-sport {
    color: #fff;
    font-weight: bold;
}
.event-time {
    color: #6f6351;
    font-size: 0.9em;
}
.event-teams {
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #fff;
}
.event-market {
    margin-bottom: 10px;
}
.event-market:last-child {
    margin-bottom: 0;
}
.market-label {
    font-size: 0.85em;
    color: #6f6351;
    margin-bottom: 8px;
    font-weight: 600;
}
.event-odds {
    display: flex;
    gap: 10px;
}
.no-odds-available {
    padding: 10px;
    text-align: center;
    background: #cdbda7;
    border-radius: 5px;
}
.odd-btn {
    flex: 1;
    background: #cdbda7;
    border: 2px solid #907e64;
    border-radius: 5px;
    padding: 12px 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    min-width: 0;
}
.odd-btn:hover {
    background: #907e64;
    border-color: #8b7e66;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,102,204,0.3);
}
.odd-btn.selected {
    background: #8b7e66;
    border-color: #a49c91;
    box-shadow: 0 0 15px rgba(0,102,204,0.5);
}
.odd-label {
    display: block;
    color: #6f6351;
    font-size: 0.8em;
    margin-bottom: 6px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.odd-btn.selected .odd-label {
    color: #000;
}
.odd-value {
    display: block;
    color: #000;
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1;
}
.bet-slip {
    position: fixed;
    right: 20px;
    top: 100px;
    width: 320px;
    background: #ccbda8;
    border: 1px solid #907e64;
    border-radius: 8px;
    padding: 15px;
    max-height: 70vh;
    overflow-y: auto;
    color: #fff !important;
}
.bet-slip-header {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #907e64;
    color: #fff !important;
}
.bet-slip-item {
    background: #cdbda7;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 5px;
    position: relative;
    border-left: 3px solid #8b7e66;
}
.bet-slip-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #d32f2f;
    color: #000;
    border: none;
    border-radius: 3px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 0.8em;
}
.bet-slip-remove:hover {
    background: #b71c1c;
}
.bet-slip-event {
    font-size: 0.85em;
    margin-bottom: 6px;
    color: #6f6351;
    padding-right: 30px;
}
.bet-slip-selection {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.95em;
    color: #fff !important;
}
.bet-slip-odds {
    color: #8b7e66;
    font-weight: bold;
    font-size: 0.9em;
}
.bet-slip-item-stake {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #907e64;
}
.bet-slip-item-stake label {
    display: block;
    font-size: 0.85em;
    color: #6f6351;
    margin-bottom: 5px;
}
.bet-slip-item-stake-input {
    width: 100%;
    padding: 8px;
    background: #ccbda8;
    border: 1px solid #8b7e66;
    color: #000;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}
.bet-slip-item-stake-input:focus {
    outline: none;
    border-color: #8b7e66;
}
.bet-slip-item-win {
    margin-top: 8px;
    font-size: 0.9em;
    color: #4caf50;
}
.bet-slip-quick-stakes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 6px;
}
.bet-slip-quick-stake {
    padding: 4px;
    background: #907e64;
    border: 1px solid #8b7e66;
    color: #000;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.75em;
    text-align: center;
}
.bet-slip-quick-stake:hover {
    background: #907e64;
    border-color: #8b7e66;
}
.bet-slip-total {
    background: #cdbda7;
    padding: 12px;
    margin: 15px 0;
    border-radius: 5px;
}
.bet-slip-stake-input {
    width: 100%;
    padding: 10px;
    background: #907e64;
    border: 1px solid #8b7e66;
    color: #000;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 1em;
}
.quick-stake-btns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-top: 8px;
}
.quick-stake-btn {
    padding: 5px;
    background: #907e64;
    border: 1px solid #8b7e66;
    color: #000;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.2s;
}
.quick-stake-btn:hover {
    background: #907e64;
    border-color: #8b7e66;
}
.bet-slip-place-btn {
    width: 100%;
    padding: 12px;
    background: #8b7e66;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
}
.bet-slip-place-btn:hover {
    background: #6f6351;
}
.bet-slip-place-btn:disabled {
    background: #8b7e66;
    cursor: not-allowed;
}
.user-balance {
    background: #cdbda7;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    color: #fff;
}
.user-balance a {
    color: #fff;
}
.no-events {
    text-align: center;
    padding: 40px;
    color: #6f6351;
}
.success-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.success-modal-content {
    background: linear-gradient(135deg, #ccbda8 0%, #cdbda7 100%);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 40px;
    border: 2px solid #4caf50;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(76, 175, 80, 0.3);
    animation: slideDown 0.4s;
}
@keyframes slideDown {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}
.success-icon {
    font-size: 4em;
    color: #4caf50;
    margin-bottom: 20px;
    animation: scaleIn 0.5s;
}
@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}
.success-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 20px;
}
.success-details {
    background: #ccbda8;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}
.success-detail-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 8px 0;
    border-bottom: 1px solid #907e64;
}
.success-detail-row:last-child {
    border-bottom: none;
}
.success-detail-label {
    color: #6f6351;
}
.success-detail-value {
    color: #000;
    font-weight: bold;
}
.success-btn {
    padding: 15px 40px;
    background: #4caf50;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}
.success-btn:hover {
    background: #45a049;
    transform: scale(1.05);
}
</style>
.mybets-container {
    max-width: 1200px;
    margin: 0 auto;
}
.bet-card {
    background: #ccbda8;
    border: 1px solid #907e64;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}
.bet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #907e64;
    flex-wrap: wrap;
    gap: 10px;
}
.bet-id {
    color: #6f6351;
    font-size: 0.9em;
}
.bet-date {
    color: #6f6351;
    font-size: 0.9em;
}
.bet-status {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: bold;
}
.status-pending {
    background: #ff9800;
    color: #000;
}
.status-won {
    background: #4caf50;
    color: #000;
}
.status-lost {
    background: #f44336;
    color: #000;
}
.status-void {
    background: #6f6351;
    color: #000;
}
.bet-selections {
    margin: 15px 0;
}
.selection-item {
    background: #cdbda7;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 5px;
    border-left: 3px solid #907e64;
}
.selection-item.won {
    border-left-color: #4caf50;
}
.selection-item.lost {
    border-left-color: #f44336;
}
.selection-event {
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff !important;
}
.selection-outcome {
    color: #8b7e66;
}
.selection-odds {
    color: #6f6351;
    font-size: 0.9em;
}
.bet-summary {
    background: #cdbda7;
    padding: 12px;
    border-radius: 5px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}
.summary-item {
    text-align: center;
}
.summary-label {
    color: #6f6351;
    font-size: 0.85em;
    margin-bottom: 5px;
}
.summary-value {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
}
.no-bets {
    text-align: center;
    padding: 60px 20px;
    color: #6f6351;
}
.btn-edit-bet {
    padding: 6px 14px;
    background: #666;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    text-decoration: none;
    display: inline-block;
    margin-left: 12px;
    white-space: nowrap;
}
.btn-edit-bet:hover {
    background: #777;
}
.bet-date-wrapper {
    display: flex;
    align-items: center;
}
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #907e64;
    padding-bottom: 10px;
}
.filter-tab {
    padding: 8px 16px;
    background: #cdbda7;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px 5px 0 0;
    border: 1px solid #907e64;
    transition: all 0.3s;
}
.filter-tab:hover {
    background: #907e64;
    color: #fff !important;
}
.filter-tab.active {
    background: #8b7e66;
    border-color: #8b7e66;
    color: #fff !important;
}
.edit-bet-container {
    max-width: 600px;
    margin: 0 auto;
}
.bet-info-card {
    background: #ccbda8;
    border: 1px solid #907e64;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.bet-info-row {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #907e64;
}
.bet-info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.bet-info-label {
    color: #6f6351;
    font-size: 0.9em;
    margin-bottom: 5px;
}
.bet-info-value {
    font-size: 1.1em;
    font-weight: bold;
}
.edit-form {
    background: #ccbda8;
    border: 1px solid #907e64;
    border-radius: 8px;
    padding: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.form-group input {
    width: 100%;
    padding: 12px;
    background: #cdbda7;
    border: 1px solid #907e64;
    color: #000;
    border-radius: 5px;
    font-size: 1.1em;
    box-sizing: border-box;
}
.quick-stake-btns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.quick-stake-btn {
    padding: 8px;
    background: #cdbda7;
    border: 1px solid #907e64;
    color: #000;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}
.quick-stake-btn:hover {
    background: #907e64;
    border-color: #8b7e66;
}
.new-potential-win {
    background: #cdbda7;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    text-align: center;
}
.new-potential-win-value {
    font-size: 1.5em;
    color: #4caf50;
    font-weight: bold;
    margin-top: 8px;
}
.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
}
.btn-primary {
    background: #8b7e66;
    color: #000;
}
.btn-primary:hover {
    background: #6f6351;
}
.btn-secondary {
    background: #8b7e66;
    color: #000;
}
.btn-secondary:hover {
    background: #666;
}
.btn-danger {
    background: #d32f2f;
    color: #000;
}
.btn-danger:hover {
    background: #b71c1c;
}
.danger-zone {
    background: #cdbda7;
    border: 1px solid #d32f2f;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}
.danger-zone h3 {
    color: #d32f2f;
    margin-top: 0;
}
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
}
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #907e64;
}
.admin-tab {
    padding: 12px 24px;
    background: #cdbda7;
    border: none;
    color: #fff !important;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    text-decoration: none;
}
.admin-tab:hover, .admin-tab.active {
    background: #8b7e66;
    color: #fff !important;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff !important;
}
.admin-container h2,
.admin-container h3,
.admin-container h4 {
    color: #fff !important;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    background: #cdbda7;
    border: 1px solid #907e64;
    color: #000;
    border-radius: 5px;
}
.btn-primary {
    padding: 10px 20px;
    background: #8b7e66;
    color: #fff !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}
.btn-primary:hover {
    background: #6f6351;
    color: #fff !important;
}
.btn-danger {
    padding: 8px 16px;
    background: #d32f2f;
    color: #fff !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.event-list-item {
    background: #ccbda8;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 3px solid #8b7e66;
    color: #fff;
}
.event-list-item.closed {
    border-left-color: #6f6351;
    opacity: 0.7;
}
.event-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}
.modal-content {
    background-color: #ccbda8;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #907e64;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    color: #fff;
}
.modal-header {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #907e64;
    color: #fff;
}
.modal-close {
    color: #6f6351;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.modal-close:hover {
    color: #000;
}
.result-input-group {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 30px 0;
    justify-content: center;
}
.result-input-wrapper {
    text-align: center;
}
.result-input-wrapper label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #fff !important;
}
.result-input {
    width: 80px;
    padding: 15px;
    font-size: 2em;
    text-align: center;
    background: #cdbda7;
    border: 2px solid #907e64;
    color: #000;
    border-radius: 8px;
    font-weight: bold;
}
.result-input:focus {
    outline: none;
    border-color: #8b7e66;
}
.vs-text {
    font-size: 2em;
    font-weight: bold;
    color: #666;
}
.modal-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}
.modal-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
}
.modal-btn-primary {
    background: #8b7e66;
    color: #000;
}
.modal-btn-primary:hover {
    background: #6f6351;
}
.modal-btn-secondary {
    background: #8b7e66;
    color: #000;
}
.modal-btn-secondary:hover {
    background: #666;
}
