/* Leagues */

.country-group {
    background-color: #fff;
    box-shadow: 0px 0px 12px #999;
    padding: 10px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.country-header {
    display: flex;
    align-items: center;
    padding: 5px;
    background-color: #cfcfcf;
}

.country-header img {
    height: 30px;
    margin-right: 10px;
}

.country-header .country-name {
    font-weight: 700;
    font-size: 17px;
}

.country-group .league-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.country-group .league-item:nth-child(odd) {
    background-color: #d9f0f7;
}

.country-group .league-item .league-item-left {
    display: flex;
    align-items: center;
}

.country-group .league-item img {
    margin-right: 8px;
}

.country-group .league-status-button {
    border: 1px solid #ddd;
    border-radius: 5px;
    display: block;
    padding: 10px;
    color: #fff;
}

.country-group .league-activate-button {
    background-color: #666;
}

.country-group .league-deactivate-button {
    background-color: #17cd26;
}

.league-filter {
    margin-bottom: 10px;
}

.league-input {
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #999;
}

.country-group {
    background-color: #fff;
    box-shadow: 0px 0px 12px #999;
    padding: 10px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.country-header {
    display: flex;
    align-items: center;
    padding: 5px;
    background-color: #cfcfcf;
}

.country-header img {
    height: 30px;
    margin-right: 10px;
}

.country-header .country-name {
    font-weight: 700;
    font-size: 17px;
}

.country-group .league-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.country-group .league-item:nth-child(odd) {
    background-color: #d9f0f7;
}

.country-group .league-item .league-item-left {
    display: flex;
    align-items: center;
}

.country-group .league-item img {
    margin-right: 8px;
}

.country-group .league-item .league-item-right {
    display: flex;
    align-items: center;
}

.country-group .league-item .league-priority-select {
    margin-right: 10px;
}

.country-group .league-status-button {
    border: 1px solid #ddd;
    border-radius: 5px;
    display: block;
    padding: 10px;
    color: #fff;
}

.country-group .league-activate-button {
    background-color: #666;
}

.country-group .league-deactivate-button {
    background-color: #17cd26;
}

.league-filter {
    margin-bottom: 10px;
}

.league-input {
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #999;
}


/* Bet Type */
.bet-type-list .bet-type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 10px;
}

.bet-type-list .bet-type-item:nth-child(odd) {
    background-color: #d9f0f7;
}

.bet-type-item .bet-type-api-key {
    font-weight: 700;
    font-size: 19px;
    color: #13587b;
    margin-bottom: 10px;
}

.bet-type-item .bet-type-edit a {
    border: 1px solid #999;
    border-radius: 5px;
    display: block;
    padding: 6px;
    color: #333;
    margin-bottom: 5px;
}

.bet-type-item .bet-type-status-button {
    border: 1px solid #ddd;
    border-radius: 5px;
    display: block;
    padding: 6px;
    color: #fff;
}

.bet-type-item .bet-type-activate-button {
    background-color: #666;
}

.bet-type-item .bet-type-deactivate-button {
    background-color: #17cd26;
}


/* Matches List */

.match-lists {
    padding-bottom: 60px;
}

/* Menü genel stil */
.date-menu {
    margin: 1rem 0;
    width: 100%;
}

/* Mini Menü */
.date-mini-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    width: 100%;
    flex-wrap: nowrap;
}

.date-mini-menu .date-item {
    flex: 1 1 auto;
    text-align: center;
    padding: 6px 13px;
}

.date-mini-menu .mini-toggle {
    flex: 0 0 auto;
    cursor: pointer;
    font-size: 22px;
    padding: 6px 12px;
    user-select: none;
}

/* Full Menü */
.date-full-menu {
    display: none;
    margin-top: 10px;
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
}

/* Menü öğeleri */
.date-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 6px 20px;
    border-radius: 6px;
    background-color: #eee;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
}

.date-item.active {
    background-color: #007bff;
    color: #fff;
}

/* Responsive davranış */
@media (min-width: 768px) {
    .date-mini-menu {
        display: none;
    }

    .date-full-menu {
        display: flex !important;
        flex-wrap: nowrap;
    }
}

@media (max-width: 767px) {
    .date-full-menu {
        display: none;
        flex-direction: column;
    }

    .date-full-menu .date-item {
        display: block;
        width: 100%;
        margin-bottom: 4px;
    }
}



.match-group {
    margin-bottom: 35px;
    box-shadow: 0px 0px 13px #3f4b49;
}

.match-group .match-group-league-name {
    text-align: left;
    padding: 7px;
    font-weight: 700;
    background: #494949;
    color: #fff;
}

.match-group .match-row {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border-top: 1px solid #ddd;
}

.match-group .match-data {
    width: 100%;
}

.match-group .match-data a {
    display: flex;
    padding: 5px;
    height: 100%;
}

.match-group .match-data a:hover {
    background-color: #eee;
}

.match-group .match-time {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5px;
    font-size: 12px;
    align-items: center;
    color: #555;
    width: 65px;
}

.match-group .teams {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5px;
    width: 100%;
    height: 100%;
}

.match-group .list-team {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-group .list-team-left {
    display: flex;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
}

.match-group .list-team-logo {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

.match-group .list-team-name {
    color: #000;
    text-align: left;
}

.match-group .list-team-score {
    display: flex;
    justify-content: center;
    width: 18px;
    color: #4CAF50;
    font-weight: 500;
}

.match-group .match-list-odds {
    display: flex;
    padding: 5px;
}

.match-group .bet-option {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    border-radius: 5px;
    min-width: 90px;
    padding: 3px;
}

.match-group .bet-option-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.match-group .bet-option-odd-value {
    font-weight: bold;
    font-size: 15px;
    display: block;
    color: #111;
}


/* Match Detail */
.match-detail {
    margin: 0 auto;
    padding: 20px;
    font-family: sans-serif;
    padding-bottom: 100px;
}

.match-detail .bet-group {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 4px;
}

.match-detail .bet-group .bet-group-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
}

.match-detail .bet-options {
    display: flex;
    flex-wrap: wrap;
}

.match-detail .bet-option {
    min-width: 90px;
    padding: 2px;
}

.match-detail .bet-option .odd-value {
    font-weight: bold;
    font-size: 15px;
    display: block;
    color: #111;
}

.match-detail .bet-option .odd-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.match-detail .bet-option.suspended {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f3f3f3;
}

.bet-create {
    cursor: pointer;
}

.bet-option-container {
    text-align: center;
    border-radius: 3px;
    border: 1px solid #ccc;
    background: white;
    transition: background-color 0.2s, box-shadow 0.2s;
    font-size: 14px;
    padding: 7px;
    width: 100%;
}

.bet-option-container:hover {
    background-color: #f2f2f2;
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
}

.bet-create .bet-option-container {
    border: 1px solid #007bff;
}

.match-detail .bet-option.selected {
    background-color: #007bff;
    color: #fff;
    border-color: #0056b3;
}

.match-detail .match-header {
    padding: 15px;
    background: #f4f4f4;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.match-detail .match-cancel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.match-detail .match-header-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.match-detail .match-header-team {
    flex: 1;
    text-align: center;
}

.match-detail .match-header-team img {
    height: 36px;
    vertical-align: middle;
    margin-bottom: 4px;
}

.match-detail .match-header-team span {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.match-detail .match-header-score .match-score {
    width: 70px;
}

.match-detail .match-header-score .match-score {
    font-size: 20px;
    font-weight: bold;
    color: #111;
}

.match-detail .match-header-score .halftime-score {
    font-size: 14px;
    color: #7d7d7d;
}

.match-detail .match-header-time {
    font-size: 14px;
    color: #555;
}

.match-detail .match-status {
    font-weight: bold;
    color: #007bff;
    margin-bottom: 2px;
}

.match-detail .match-current-time {
    font-size: 13px;
    color: #111;
}

.match-detail .tabs {
    margin-top: 20px;
}

.match-detail .tab-buttons {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 15px;
}

.match-detail .tab-button {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 600;
    background-color: #f8f8f8;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    font-size: 14px;
}

.match-detail .tab-button:hover {
    background-color: #eaeaea;
}

.match-detail .tab-button.active {
    border-bottom: 3px solid #007bff;
    background-color: #fff;
    color: #007bff;
}

.match-detail .tab-content {
    display: none;
}

.match-detail .tab-content.active {
    display: block;
}

.match-detail .stat-row {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
}

.match-detail .stat-row:nth-child(odd) {
    background-color: #d9f0f7;
}

.match-detail .stat-left {
    text-align: right;
    width: 60px;
}

.match-detail .stat-label {
    text-align: center;
    font-weight: 700;
    width: 100%;
    padding: 0 8px;
}

.match-detail .stat-right {
    text-align: left;
    width: 60px;
}

.match-events {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.event-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.event-cell {
    padding: 4px;
    font-size: 14px;
}

.event-cell.left {
    text-align: right;
}

.event-cell.right {
    text-align: left;
}

.event-cell.minute {
    font-weight: bold;
    color: #555;
    min-width: 36px;
    text-align: center;
}

/* Base event style */
.event {
    display: inline-block;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
    max-width: 100%;
    word-break: break-word;
}

/* Goal Types */
.event-goal {
    background: #e6f7e6;
    color: #237804;
}
.event-goal.own {
    background: #fff1f0;
    color: #cf1322;
}
.event-goal.penalty {
    background: #fffbe6;
    color: #ad6800;
}
.event-goal svg {
    margin-right: 5px;
}

/* Card Types */

.event-card {
    display: flex;
    align-items: center;
}
.left .event-card {
    justify-content: right;
}
.right .event-card {
    justify-content: left;
}
.event-card.yellow {
    color: #d48806;
}
.event-card.red {
    color: #a8071a;
}
.event-card svg {
    width: 20px;
    margin-right: 5px;
}

/* Substitution */
.event-subst,
.event-substitution {
    background: #e6f4ff;
    color: #0050b3;
}

/* VAR */
.event-var {
    background: #fafafa;
    color: #8c8c8c;
    font-style: italic;
}

/* Fallback for unknown types */
.event-unknown {
    background: #f5f5f5;
    color: #595959;
}


/* Bet Slip */

#bet-slip-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    border-top: 1px solid #ddd;
    font-family: Arial, sans-serif;
    z-index: 1000;
}

.slip-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 9999;
    background: rgb(0 0 0 / 70%);
    visibility: hidden;
}

.slip-overlay svg{
    color: #fff;
}

.bet-slip-header {
    background: #373636;
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.slip-title {
    font-weight: 700;
}

.slip-header-right {
    display: flex;
}

.slip-total-odds vl{
    font-weight: bold;
}

.bet-slip-reset {
    display: flex;
    justify-content: right;
    align-items: center;
    color: #f00;
}

.reset-slip-button {
    cursor: pointer;
    padding: 10px;
}

.reset-slip-button svg {
    margin-right: 10px;
}

.bet-slip-body {
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.match-block {
    margin-bottom: 2px;
    border-bottom: 1px solid #eee;
    padding: 10px;
    background: #eee;
}

.match-block:nth-child(even) {
    background: #e5f1ef;
}

.match-header {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.slip-bet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-top: 1px solid #ddd;
}

.slip-bet.bet-inactive {
    opacity: 0.6;
}

.bet-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.bet-info-bet {
    display: flex;
    justify-content: right;
}

.bet-info-bet .bet-odd {
    margin-left: 10px;
    font-weight: 700;
}

.bet-remove {
    cursor: pointer;
    color: red;
    margin-left: 10px;
}

.bet-slip-footer {
    background: #f5f5f5;
    padding: 10px;
    border-top: 1px solid #ddd;
    display: none;
}

.bet-slip-stake input {
    width: 100%;
    padding: 5px;
    margin-top: 5px;
    box-sizing: border-box;
}

.bet-slip-odds,
.bet-slip-payout,
.deposit-slip-submit {
    margin-top: 10px;
}

.payout-val {
    font-weight: 700;
}

.deposit-slip-button {
    width: 100%;
    padding: 10px;
    background: #28a745;
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

.deposit-slip-button:hover {
    background: #218838;
}

.deactive-slip-button {
    background: #ddd;
    cursor: auto;
}

.deactive-slip-button:hover {
    background: #ddd;
}

.bet-slip-result-info,
.bet-slip-pending-info {
    padding: 16px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bet-slip-result-info .result-message,
.bet-slip-pending-info .pending-message {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.bet-slip-result-info .result-note,
.bet-slip-pending-info .pending-note {
    font-size: 14px;
    color: #666;
    margin-top: 12px;
}

.result-buttons,
.pending-buttons {
    margin-top: 10px;
}

.btn-view-slips {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.btn-view-slips:hover {
    background-color: #0056b3;
}

/* Status specific colors */
.bet-slip-result-won {
    background-color: #e6f4ea;
    border: 1px solid #28a745;
    color: #155724;
}

.bet-slip-result-lost {
    background-color: #fcebea;
    border: 1px solid #dc3545;
    color: #721c24;
}

.bet-slip-result-cancelled {
    background-color: #fcebea;
    border: 1px solid #763e19;
    color: #763e19;
}

.bet-slip-pending-info {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.cancel-note-title {
    font-weight: 700;
    color: #333;
}

.cancel-note-message {
    color: #795548;
}

.slip-status {
    font-weight: 700;
}

.slip-status-won {
    color: #155724;
}

.slip-status-lost {
    color: #721c24;
}

.slip-status-cancelled {
    color: #763e19;
}


.no-bets {
    text-align: center;
    color: #888;
    font-size: 14px;
    padding: 20px 0;
}

.slip-opened .bet-slip-body,
.slip-opened .bet-slip-footer {
    display: block;
}

.slip-payout-loading {
    display: none;
}

.slip-payout-waiting .slip-payout-loading {
    display: block;
}

.slip-payout-waiting .slip-payout-value {
    display: none;
}

.slip-delay-warning {
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #173b61;
}

.slip-delay-title {
    text-align: center;
}

.slip-delay-description {
    font-size: 14px;
    color: #777;
    text-align: center;
}

.slip-message {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid transparent;
}

.slip-message-success {
    color: #2e7d32;
}

.slip-message-warning {
    color: #f57f17;
}

.slip-message-error {
    color: #c62828;
}

.slip-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background-color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slip-alert-success {
    background-color: #4CAF50;
}

.slip-alert-warning {
    background-color: #FFC107;
    color: #000;
}

.slip-alert-error {
    background-color: #F44336;
}

.slip-opened .page-deactive {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.7);
}

.highlight {
    background-color: #ffeaa7;
    transition: background-color 0.5s ease;
}

.highlight-up {
    background-color: #55efc4;
    transition: background-color 0.5s ease;
}

.highlight-down {
    background-color: #fab1a0;
    transition: background-color 0.5s ease;
}

.highlight-added {
    background-color: #3d7c18;
    transition: background-color 0.5s ease;
}

.slip-reload-required {
    background-color: #b3281d;
    padding: 16px;
    text-align: center;
    margin: 10px 0;
}

.slip-reload-required .srr-warning {
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}

.slip-reload-required .load-updated-slip {
    background-color: #0984e3; /* mavi buton */
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slip-reload-required .load-updated-slip:hover {
    background-color: #74b9ff; /* hover açık mavi */
}

.bet-slip-view {
    background-color: #f9f9f9;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.cancel-slip {
    color: #f00;
}

/* Header */
.bet-slip-view .slip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: bold;
}

.bet-slip-view .slip-id {
    color: #0984e3;
}

.bet-slip-view .slip-date {
    color: #636e72;
    font-size: 12px;
}

.bet-slip-view .slip-status {
    text-transform: capitalize;
}

.bet-slip-view .slip-status-won,
.bet-slip-view .won-payout {
    color: #17cd26;
}

.bet-slip-view .slip-status-lost {
    color: #ff3b3b;
}

.bet-slip-view .slip-status-pending {
    color: #636e72;
}

.cancelled-label {
    font-weight: 700;
    font-size: 17px;
}

.cancelled-note {
    color: #333;
}

/* Body */
.bet-slip-view .slip-body {
    margin-top: 10px;
}

/* Match Group */
.bet-slip-view .match-group {
    padding: 12px;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    margin-bottom: 12px;
    background-color: #fff;
}

/* Match Header */
.bet-slip-view .match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bet-slip-view .match-header-left {
    display: flex;
    flex-direction: column;
}

.bet-slip-view .match-header-right {
    text-align: right;
    font-size: 13px;
}

.bet-slip-view .match-name {
    font-weight: bold;
    color: #0984e3;
    text-decoration: none;
}

.bet-slip-view .league-name {
    font-size: 12px;
    color: #636e72;
}

.bet-slip-view .match-status {
    font-weight: bold;
    text-transform: capitalize;
    margin-bottom: 2px;
}

.bet-slip-view .match-minute {
    font-size: 12px;
    color: #e17055;
}

.bet-slip-view .match-score {
    font-size: 14px;
    font-weight: bold;
}


/* Match Bets */
.bet-slip-view .match-bets {
    margin-top: 8px;
}

/* Bet Row */
.bet-slip-view .bet-row {
    border-bottom: 1px dashed #e0e0e0;
}

.bet-slip-view .bet-row:last-child {
    border-bottom: none;
}

.bet-slip-view .bet-row-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.bet-row-left {
    display: flex;
    align-items: center;
}

.bet-row-right {
    display: flex;
    align-items: center;
}

.bet-row-right .bet-value {
    margin-right: 10px;
}

.bet-set-button {
    padding: 5px;
}

.bet-set-won-button {
    color: #00b894;
}

.bet-set-lost-button {
    color: #f00;
}

/* Bet Icon */
.bet-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 5px;
}

.bet-status-pending .bet-icon {
    background-color: #b2bec3;
}

.bet-status-won .bet-icon {
    background-color: #00b894;
}

.bet-status-lost .bet-icon {
    background-color: #d63031;
}

.bet-status-check_required .bet-icon {
    background-color: #ffc107;
}

/* Bet Texts */
.bet-name {
    font-weight: bold;
    color: #2d3436;
}

.bet-value {
    color: #0984e3;
}

.bet-status-pending .bet-odd {
    color: #b2bec3;
}

.bet-status-won .bet-odd {
    color: #00b894;
}

.bet-status-lost .bet-odd {
    color: #d63031;
}

/* Footer */
.bet-slip-view .slip-footer {
    margin-top: 14px;
    border-top: 1px solid #dfe6e9;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.slip-footer-col {
    display: flex;
}

.bet-slip-view .stake,
.bet-slip-view .payout {
    font-size: 14px;
    color: #2d3436;
}

.bet-slip-view .total-odds {
    font-size: 14px;
    color: #2d3436;
}


/* Dashboard */
.count-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
    min-width: 200px;
    margin-bottom: 20px;
}

.count-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-left {
    margin-right: 16px;
}

.count-card-icon {
    background-color: #f3f4f6;
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.count-card-icon svg {
    width: 24px;
    height: 24px;
}

#dashboard-card-bets .count-card-icon {
    color: #198754;
}

#dashboard-card-balance .count-card-icon {
    color: #4f46e5;
}

#dashboard-card-total_stake .count-card-icon {
    color: #f00;
}

#dashboard-card-total_winnings .count-card-icon {
    color: #ffc107;
}

.card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.count-card-total {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.count-card-title {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-summary {
    display: flex;
    flex-direction: column;
}

.ds-items {
    margin-bottom: 10px;
}

.ds-label {
    float: left;
    margin-right: 10px;
    font-weight: 500;
}

/* Manage */

.manage-page-matches #manage-content {
    padding: 0 !important;
}

.manage-page-matches .matches-list-page {
    background: #eee;
    padding: 15px;
}

.matches-menu-group {
    background: #cce0e9;
}

.matches-menu-item {
    border-top: none !important;
}

.matches-menu-item a {
    font-size: 17px !important;
    color: #0f4d3c !important;
    border-radius: 4px;
}

.matches-menu-item a:hover {
    color: #083529 !important;
    background: #afc6d1 !important;
}

.logout-button a {
    color: #813939 !important;
}

.manage-list-page {
    height: 100%;
    background: #fff;
}

.slip-view-button {
    border: 1px solid #444;
    padding: 5px;
    color: #333;
}

/* Dashboard */
.dashboard-container .stats-heading {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3436;
}

.dashboard-stats-section {
    margin-bottom: 30px;
}

.dashboard-stats .stat-box {
    background-color: #ffffff;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.dashboard-stats .stat-box:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.dashboard-stats .stat-icon {
    font-size: 24px;
    line-height: 1;
    color: #0984e3;
}

.dashboard-stats .stat-info .stat-title {
    font-size: 14px;
    color: #636e72;
    margin-bottom: 2px;
    font-weight: 500;
}

.dashboard-stats .stat-info .stat-value {
    font-size: 16px;
    font-weight: bold;
    color: #2d3436;
}

/* Financial */
.financial-stats-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.financial-block {
    flex: 1 1 calc(33.333% - 16px);
    background-color: #f9f9f9;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    min-width: 280px;
}

.financial-block-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2d3436;
    padding: 10px;
}

.financial-block-type-group {
    border-top: 1px solid #ddd;
    padding: 10px;
}

.financial-block-type-title {
    font-size: 18px;
    font-weight: 700;
    color: #45a9b3;
}

.financial-block-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.financial-block-list li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #2d3436;
}

.financial-block-list li strong {
    color: #636e72;
}


/* Credits*/
.credit-minus .credit-amount {
    color: #f00;
}

.credit-plus .credit-amount {
    color: #17cd26;
}

.credit-minus .credit-type-container{
    color: #f00;
}

.credit-plus .credit-type-container {
    color: #17cd26;
}

.credit-type-container a {
    color: #2c7497;
    border: 1px solid;
    padding: 1px 5px;
    margin-top: 5px;
    display: inline-block;
}

/* Matches */
.col-match-data{
    display: block;
    padding: 4px;
}

.col-match-data:hover {
    background-color: #bcd5cb;
}

.col-match-data .match-name {
    color: #333;
    font-weight: 700;
}

.col-match-data .match-league-name {
    color: #444;
}

/* Responsive düzenleme */
@media (max-width: 991px) {
    .financial-block {
        flex: 1 1 calc(50% - 16px);
    }
}

@media (max-width: 576px) {
    .financial-block {
        flex: 1 1 100%;
    }
}


@media (max-width: 600px) {

    #manage-output #manage-content {
        padding: 10px;
    }

    .match-group .match-row {
        flex-direction: column;
        padding: 7px 0;
    }

    .match-group .match-row:nth-child(even) {
        background-color: #eff6ff;
    }

    .match-group .bet-option {
        width: 33%;
    }

    .match-group .match-data a {
        flex-direction: row-reverse;
    }

    .match-group .list-team {
        font-size: 14px;
    }

    .match-group .bet-option-odd-value {
        font-size: 14px;
    }

    .match-detail {
        padding: 0px;
    }

    .match-detail .bet-option {
        min-width: 33%;
    }

    .bet-option-container {
        padding: 4px;
    }

    .bet-slip-view {
        padding: 0;
    }

    .slip-footer-col {
        flex-direction: column;
        align-items: end;
    }

}
