.game-reg-layout {
    gap: 40px;
}

.game-reg-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.game-reg-meta .name h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

.game-reg-meta .name h2 span {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.85;
}

.game-reg-seats small {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
}

.game-reg-booking {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.game-reg-price {
    font-size: 18px;
    margin: 0 0 20px;
}

.game-reg-booking-row {
    align-items: flex-start;
    gap: 32px;
}

.game-reg-form-col {
    flex: 1;
    min-width: 280px;
}

.game-reg-players-col {
    flex: 1;
    min-width: 220px;
}

.game-reg-full-msg,
.game-reg-no-players {
    margin-top: 12px;
    font-size: 16px;
    opacity: 0.9;
}

.game-registration-page .game-reg-card {
    width: 100%;
    max-width: 720px;
    margin: 40px auto;
    padding: 32px 40px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 0 2px #fff;
    color: var(--white, #fff);
}

.game-reg-summary {
    margin: 20px 0;
    font-size: 18px;
    line-height: 1.6;
}

.game-reg-summary strong {
    font-weight: 700;
}

.game-reg-timer {
    font-size: 18px;
    margin: 0 0 24px;
    color: #ffd966;
    font-weight: 600;
}

.game-reg-note {
    margin-top: 24px;
    font-size: 14px;
    opacity: 0.85;
}

.game-reg-redirect-msg {
    font-size: 15px;
    margin: 0 0 12px;
    opacity: 0.9;
}

.game-reg-redirect-progress {
    width: 100%;
    max-width: 280px;
    height: 4px;
    margin: 0 auto 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.game-reg-redirect-progress-bar {
    width: 0;
    height: 100%;
    background-color: var(--yellow, #FFCD00);
    border-radius: 4px;
    animation: game-reg-redirect-progress 3s linear forwards;
}

@keyframes game-reg-redirect-progress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.game-reg-error {
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
    margin: 0;
    color: #ffb4ae;
}

.game-registration-page .game-reg-card a {
    color: var(--yellow, #FFCD00);
    text-decoration: underline;
}

.game-reg-success,
.game-reg-payment {
    text-align: center;
}

.game-reg-success-badge,
.game-reg-payment-badge {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
}

.game-reg-success-badge {
    border: 2px solid var(--blue, #13BFE1);
    background-color: rgba(19, 191, 225, 0.15);
}

.game-reg-payment-badge {
    border: 2px solid var(--yellow, #FFCD00);
    background-color: rgba(255, 205, 0, 0.15);
}

.game-reg-payment-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 20px;
    border: 2px solid var(--yellow, #FFCD00);
    border-radius: 4px;
    transform: translate(-50%, -58%);
}

.game-reg-payment-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 4px;
    background-color: var(--yellow, #FFCD00);
    transform: translate(-50%, 10%);
}

.game-reg-payment-badge--expired {
    border-color: #ffb4ae;
    background-color: rgba(255, 66, 48, 0.15);
}

.game-reg-payment-badge--expired::before,
.game-reg-payment-badge--expired::after {
    display: none;
}

.game-reg-payment-badge--expired::after {
    display: block;
    content: '!';
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    background: none;
    color: #ffb4ae;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    transform: translate(-50%, -50%);
}

.game-reg-success-badge::after {
    content: '';
    position: absolute;
    top: 46%;
    left: 50%;
    width: 14px;
    height: 26px;
    border-right: 3px solid var(--blue, #13BFE1);
    border-bottom: 3px solid var(--blue, #13BFE1);
    transform: translate(-50%, -50%) rotate(45deg);
}

.game-reg-success h2,
.game-reg-payment h2 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 20px;
}

.game-reg-success-greeting {
    font-size: 20px;
    margin: 0 0 8px;
}

.game-reg-success-game,
.game-reg-payment-game,
.game-reg-payment-price {
    font-size: 18px;
    margin: 0 0 8px;
    opacity: 0.9;
}

.game-reg-success-game {
    margin: 0;
}

.game-reg-success-actions,
.game-reg-payment-actions {
    margin: 28px 0 0;
}

.game-reg-payment-note {
    margin: 48px 0 0;
    padding-top: 8px;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.75;
}

.game-registration-page .game-reg-card a.game-reg-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border-radius: 10px;
    background-color: var(--yellow, #FFCD00);
    color: var(--black, #131313);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.game-registration-page .game-reg-card a.game-reg-back-link:hover,
.game-registration-page .game-reg-card a.game-reg-back-link:focus {
    background-color: var(--white, #fff);
    color: var(--black, #131313);
}

.game-reg-pending,
.game-reg-expired {
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
    margin: 0 0 8px;
}

.game-reg-loading {
    margin-bottom: 16px;
}

.game-reg-promo {
    gap: 12px;
    margin: 8px 0 4px;
    flex-wrap: wrap;
}

.game-reg-promo-btn {
    appearance: none;
    border: none;
    border-radius: 10px;
    min-height: 44px;
    padding: 10px 20px;
    background-color: var(--white, #fff);
    color: var(--black, #131313);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.game-reg-promo-btn:hover {
    background-color: var(--yellow, #FFCD00);
}

.game-reg-promo-result {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
}

.game-reg-promo-result.ok {
    color: #8dffb0;
}

.game-reg-promo-result.error {
    color: #ffb4ae;
}

.game-reg-price-preview {
    margin: 8px 0 0;
    font-size: 16px;
}

.game-reg-price-old {
    text-decoration: line-through;
    opacity: 0.65;
    margin-right: 8px;
}

.game-reg-price-new {
    color: var(--yellow, #FFCD00);
}

/* Admin: move players */
.move-players-admin {
    gap: 16px;
    max-width: 1100px;
}

.move-players-intro {
    margin: 0;
    opacity: 0.85;
    line-height: 1.4;
}

.move-players-status {
    margin: 0;
    min-height: 1.2em;
    font-size: 15px;
}

.move-players-status.ok {
    color: #1a7a3c;
}

.move-players-status.error {
    color: #b42318;
}

.move-players-list {
    gap: 16px;
    overflow-x: auto;
}

.move-players-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    color: #222;
    font-size: 14px;
}

.move-players-table th,
.move-players-table td {
    border: 1px solid #ccc;
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
    color: #222;
    background: #fff;
}

.move-players-table th {
    background: #f3f3f3;
    font-weight: 700;
    white-space: nowrap;
}

.move-players-table td:nth-child(3) {
    white-space: nowrap;
}

.move-players-unapproved {
    font-weight: 400;
    font-style: normal;
    color: #666;
}

.move-players-player {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 6px 0;
    border-top: 1px solid #eee;
}

.move-players-player:first-child {
    border-top: 0;
    padding-top: 0;
}

.move-players-player__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 180px;
}

.move-players-name {
    font-size: 14px;
    color: #111;
}

.move-players-meta {
    font-size: 12px;
    line-height: 1.35;
    color: #555;
}

.move-players-player__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.move-players-transfer,
.move-players-delete {
    min-height: 32px;
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
    background: #fff;
}

.move-players-transfer {
    border: 1px solid #222;
    color: #111;
}

.move-players-delete {
    border: 1px solid #b42318;
    color: #b42318;
}

.move-players-notify {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.move-players-empty {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
}

/* Modal */
body.move-players-modal-open {
    overflow: hidden;
}

.move-players-modal[hidden] {
    display: none !important;
}

.move-players-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.move-players-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.move-players-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: #fff;
    padding: 20px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.move-players-modal__dialog h3 {
    margin: 0;
    font-size: 20px;
}

.move-players-modal__player {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
}

.move-players-modal__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}

.move-players-modal__field select {
    min-height: 42px;
    font-size: 14px;
    width: 100%;
}

.move-players-modal__actions {
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.move-players-modal__cancel {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.25);
}

@media (max-width: 1000px) {
    .game-reg-booking-row {
        flex-direction: column;
    }

    .content.single_game .game.game-reg-layout {
        grid-template-columns: 1fr;
    }

    .move-players-table th,
    .move-players-table td {
        font-size: 13px;
    }
}
