﻿.steam-codes-page {
    background-color: #212731;
    /*background-color: #24282d;*/
    color: #d1d7e0;
    font-family: 'Hikasami-Regular';
    transition: background-color 0.3s ease, color 0.3s ease;
}

.steam-codes-page .steam-btn-wide {
    width: 100%;
    padding: 3px 16px;
    font-size: 16px;
    text-align: center;
    display: inline-block;
    border-radius: 10px;
}

.steam-codes-page .container-fluid {
    padding: 20px;
}

    .steam-codes-page .card {
        background-color: #17181a; 
        border: 1px solid rgba(0, 0, 0, 0.6);
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
        margin-bottom: 15px;
    }
        .steam-codes-page .card:hover {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
        }

.steam-codes-page .card-body {
    color: #c4c9d1;
    padding: 12px;
}

.steam-codes-page .card-body strong {
    color: #d1d7e0; 
}

    .steam-codes-page .btn {
        background-color: #474d57;
        border-color: #474d57;
        color: #d1d7e0;
        font-weight: bold;
        padding: 8px 15px;
        border-radius: 5px;
    }

.steam-codes-page .btn:hover {
    background-color: #4b5c67; 
    border-color: #4b5c67;
    color: #ffffff;
}

.steam-codes-page .btn-outline-secondary {
    background-color: transparent;
    border-color: #4b5c67;
    color: #d1d7e0;
}

.steam-codes-page .btn-outline-secondary:hover {
    background-color: #4b5c67;
    border-color: #4b5c67;
    color: #ffffff;
}

.steam-codes-page .modal-content {
    background-color: #2a3542;
    color: #d1d7e0;
    border-radius: 8px;
}

.steam-codes-page .modal-body {
    padding: 15px;
}

.steam-codes-page .btn-close {
    filter: brightness(0) invert(0.8);
    font-size: 1.5rem;
    border: none;
}

.steam-codes-page .btn-close:hover {
    filter: brightness(0) invert(0.8);
}

.steam-codes-page img {
    width: 1.3rem;
    height: auto;
    filter: invert(1) grayscale(100%) brightness(200%);
}

.steam-codes-page .form-label {
    color: #b1b9c5;
}

.steam-codes-page .form-control {
    background-color: #3a4751 !important;
    color: #d1d7e0;
    border: 3px solid #3a4751;
    border-radius: 5px;
    padding: .375rem .75rem;
}

    .steam-codes-page .form-control:focus {
        border-color: #1fa2f1; 
        outline: none;
    }

    .steam-codes-page .blazored-typeahead, .steam-codes-page .blazored-typeahead.valid.modified {
        border: 1px solid #3d4750 !important;
        background-color: #3d4750;
    }

    .steam-codes-page .blazored-typeahead__input-mask, .steam-codes-page .blazored-typeahead__clear {
        background-color: #3a4751;
        border-color: #3a4751;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        padding: 8px;
    }

    .steam-codes-page .blazored-typeahead__result,
    .steam-codes-page .blazored-typeahead__notfound, .steam-codes-page .blazored-typeahead__active-item,
    .steam-codes-page .blazored-typeahead__results-help-template, .steam-codes-page .blazored-typeahead__results-header,
    .steam-codes-page .blazored-typeahead__results-footer {
        background-color: #1f2125;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        border-top: none;
        border-bottom: none;
        padding: 10px;
        font-size: 16px;
    }

.steam-codes-page .blazored-typeahead__input {
        background-color: #3a4751 !important;
        color: #d1d7e0;
        border: 2px solid #3a4751;
        border-radius: 5px;
        padding: 10px;
        font-size: 16px;
    }

    .steam-codes-page .blazored-typeahead__input::placeholder {
        color: #292f34;
        opacity: 1;
    }

    .steam-codes-page .blazored-typeahead__input:focus {
       outline: none;
    }

.steam-codes-page .form-select {
        background-color: #3a4751;
        color: #d1d7e0;
        border: 1px solid #3a4751;
        padding: .470rem .75rem;
    }

    .steam-codes-page .form-select:focus {
        border-color: #1fa2f1;
        outline: none;
    }

.steam-codes-page .loader {
    margin: 50px auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

    .steam-codes-page .loading-logo {
        filter: invert(1) grayscale(100%) brightness(200%);
    }

.steam-codes-page .btn-group {
    display: flex;
    gap: 10px;
}

.steam-codes-page .steam-form {
    background-color: #1f2125;
    border-radius: 8px;
    padding: 20px;
}

.steam-codes-page .card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    transition: box-shadow 0.3s ease-in-out;
}

.steam-codes-page .list-group-item {
    background-color: #17181a;
    color: #d1d7e0;
    border: none;
}

.steam-codes-page .text-muted {
    color: #a3a8ac !important;
}

.steam-codes-page .h5 {
    color: #a3a8ac !important;
}

    .steam-codes-page .col-lg-6 {
        width: 100% !important;
    }

    .steam-codes-page .row > .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
        width: 100%;
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
    }

@media (max-width: 992px) {
    .steam-codes-page .row > .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.steam-codePanel {
    padding: 28px 24px;
    border-radius: 16px;
    width: 370px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    text-align: left;
    line-height: 1;
}

.steam-codes-page .form-error-message {
    color: #bc3e3e;
}

.steam-codes-page .container-fluid, .steam-codes-pag .flex-grow-1 {
    transition: background-color 0.5s ease, color 0.5s ease;
}

.container-fluid {
    transition: background-color 0.5s ease, color 0.5s ease;
}

.steam-codes-page .cp-tooltip-box a {
    display: flex;
    align-items: center;
    color: #c4c9d1;
    text-decoration: none !important;
    font-size: 0.875rem;
    transition: color 0.2s;
    font-size: 16px;
}

.steam-codes-page .cp-tooltip-box img {
    margin-right: 8px; /* Отступ между иконкой и текстом */
    width: 16px;
    height: 16px;
}
