.input-group-parent {
    display: flex;
    align-items: center;
    margin-bottom: 0.625rem;
    align-self: flex-start;
    width: 100%;
}

.input-group-left {
    width: 9.375rem;
}

.input-group-right {
    flex: 1;
}

.label-left {
    font-size: 0.875rem !important;
    color: #333;
    font-weight: normal !important;
    white-space: nowrap;
    width: 100%;
    text-align: left;
    margin-top: 1.875rem !important;
}

input[type="text"] {
    padding: 0.625rem 0.75rem;
    font-size: 0.9375rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: right;
    width: 12.5rem;
    margin-left: auto !important;
}

input[type="text"]:focus {
    border-color: #9fb7ff;
    box-shadow: 0 4px 12px rgba(60, 120, 255, 0.08);
}

.list-group {
    list-style: none;
    padding: 0;
    margin: 1.25rem auto;
    width: 70%;
}

.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0.9375rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.625rem;
    background: var(--card);
}

.player-name {
    font-weight: 600;
}

.player-score {
    color: var(--accent);
    font-weight: bold;
}

@media (max-width: 1440px) {
    .input-group-left {
        width: 8.75rem;
    }
    input[type="text"] {
        width: 11.25rem;
        font-size: 14px;
        padding: 0.5625rem 0.6875rem;
    }
    .label-left {
        font-size: 13px !important;
    }
    .list-group {
        margin: 1.125rem auto;
        width: 72%;
    }
    .list-group-item {
        padding: 0.35rem 0.9rem;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 1024px) {
    .input-group-left {
        width: 8.125rem;
    }
    input[type="text"] {
        width: 10rem;
        font-size: 13px;
        padding: 0.5rem 0.625rem;
    }
    .label-left {
        font-size: 12px !important;
    }
    .list-group {
        margin: 1rem auto;
        width: 75%;
    }
    .list-group-item {
        padding: 0.325rem 0.8625rem;
        margin-bottom: 0.575rem;
    }
}

@media (max-width: 768px) {
    .input-group-left {
        width: 7.5rem;
    }
    input[type="text"] {
        width: 8.75rem;
        font-size: 12px;
        padding: 0.4375rem 0.5625rem;
    }
    .label-left {
        font-size: 11px !important;
    }
    .list-group {
        margin: 0.875rem auto;
        width: 80%;
    }
    .list-group-item {
        padding: 0.3rem 0.825rem;
        margin-bottom: 0.55rem;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .input-group-left {
        width: 6.875rem;
    }
    input[type="text"] {
        width: 7.5rem;
        font-size: 11px;
        padding: 0.375rem 0.5rem;
    }
    .label-left {
        font-size: 10px !important;
    }
    .list-group {
        margin: 0.75rem auto;
        width: 85%;
    }
    .list-group-item {
        padding: 0.275rem 0.7875rem;
        margin-bottom: 0.525rem;
    }
}

@media (max-width: 375px) {
    .input-group-left {
        width: 6.25rem;
    }
    input[type="text"] {
        width: 6.25rem;
        font-size: 10px;
        padding: 0.3125rem 0.4375rem;
    }
    .label-left {
        font-size: 9px !important;
    }
    .list-group {
        margin: 0.625rem auto;
        width: 90%;
    }
    .list-group-item {
        padding: 0.25rem 0.75rem;
        margin-bottom: 0.5rem;
    }
}
