.admin-wheel {

    padding: 24px;
}

.admin-wheel-top {

    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 24px;
}

.admin-wheel-title {

    color: #FFFFFF;

    font-size: 28px;

    font-weight: 900;
}

.admin-wheel-create {

    height: 52px;

    padding:
        0 24px;

    border: none;

    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            #FF3434,
            #960000
        );

    color: #FFFFFF;

    font-size: 14px;

    font-weight: 900;

    cursor: pointer;
}

.admin-wheel-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(240px, 1fr));

    gap: 18px;
}

.admin-wheel-card {

    padding: 22px;

    border-radius: 24px;

    background:
        rgba(255,255,255,0.03);

    border:
        1px solid rgba(255,255,255,0.05);
}

.admin-wheel-icon {

    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background:
        rgba(255,52,52,0.14);

    color: #FF3434;

    font-size: 24px;

    margin-bottom: 18px;
}

.admin-wheel-name {

    color: #FFFFFF;

    font-size: 18px;

    font-weight: 800;
}

.admin-wheel-value,
.admin-wheel-chance {

    margin-top: 10px;

    color:
        rgba(255,255,255,0.55);

    font-size: 13px;

    font-weight: 700;
}

.admin-wheel-delete {

    width: 100%;

    height: 46px;

    margin-top: 18px;

    border: none;

    border-radius: 14px;

    background:
        rgba(255,52,52,0.14);

    color: #FF5252;

    font-weight: 800;

    cursor: pointer;
}

.admin-wheel-modal-overlay {

    position: fixed;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(0,0,0,0.75);

    backdrop-filter: blur(10px);

    z-index: 999999;
}

.admin-wheel-modal {

    width: 420px;

    padding: 28px;

    border-radius: 28px;

    background:
        #111;

    border:
        1px solid rgba(255,255,255,0.06);
}

.admin-wheel-modal-title {

    color: #FFF;

    font-size: 24px;

    font-weight: 900;

    margin-bottom: 20px;
}

.admin-wheel-input {

    width: 100%;

    height: 54px;

    margin-bottom: 14px;

    padding: 0 18px;

    border: none;

    border-radius: 16px;

    background:
        rgba(255,255,255,0.04);

    color: #FFF;

    font-size: 15px;

    font-weight: 700;
}

.admin-wheel-save {

    width: 100%;

    height: 56px;

    border: none;

    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            #FF3434,
            #8F0000
        );

    color: #FFF;

    font-weight: 900;

    cursor: pointer;
}

.admin-wheel-modal {

    position: relative;
}

.admin-wheel-modal-close {

    position: absolute;

    top: 18px;
    right: 18px;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 14px;

    background:
        rgba(255,255,255,0.05);

    color: #FFFFFF;

    font-size: 18px;

    cursor: pointer;

    transition: 0.2s ease;
}

.admin-wheel-modal-close:hover {

    background:
        rgba(255,52,52,0.2);

    color: #FF3434;
}

.admin-wheel-icons {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

    margin-bottom: 18px;
}

.admin-wheel-icon-picker {

    height: 64px;

    border: none;

    border-radius: 18px;

    background:
        rgba(255,255,255,0.04);

    color:
        rgba(255,255,255,0.6);

    font-size: 22px;

    cursor: pointer;

    transition: 0.2s ease;
}

.admin-wheel-icon-picker.active {

    background:
        rgba(255,52,52,0.2);

    color: #FF3434;

    box-shadow:
        0 0 24px rgba(255,52,52,0.25);
}

.admin-wheel-icon-picker:hover {

    transform:
        translateY(-2px);
}

.admin-wheel-input,
.admin-wheel-select {

    width: 100%;

    height: 54px;

    margin-bottom: 14px;

    padding: 0 18px;

    border: none;

    border-radius: 16px;

    background:
        rgba(255,255,255,0.04);

    color: #FFF;

    font-size: 15px;

    font-weight: 700;

    outline: none;
}

.admin-wheel-input option {

    background: #111;

    color: #FFF;
}

.admin-wheel-edit {

    width: 100%;

    height: 46px;

    margin-top: 18px;

    border: none;

    border-radius: 14px;

    background:
        rgba(255,255,255,0.05);

    color: #FFFFFF;

    font-weight: 800;

    cursor: pointer;

    transition: 0.2s ease;
}

.admin-wheel-edit:hover {

    background:
        rgba(255,255,255,0.08);

    transform:
        translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| LIGHT THEME
|--------------------------------------------------------------------------
*/

body.theme-light .admin-wheel-title {

    color:
        var(--text-color);
}

body.theme-light .admin-wheel-card {

    background:
        var(--card-background);

    border:
        1px solid var(--card-border);
}

body.theme-light .admin-wheel-name {

    color:
        var(--text-color);
}

body.theme-light .admin-wheel-value,
body.theme-light .admin-wheel-chance {

    color:
        var(--text-muted);
}

/*
|--------------------------------------------------------------------------
| MODAL
|--------------------------------------------------------------------------
*/

body.theme-light .admin-wheel-modal {

    background:
        var(--modal-background);

    border:
        1px solid var(--card-border);
}

body.theme-light .admin-wheel-modal-title {

    color:
        var(--text-color);
}

/*
|--------------------------------------------------------------------------
| INPUTS
|--------------------------------------------------------------------------
*/

body.theme-light .admin-wheel-input,
body.theme-light .admin-wheel-select {

    background:
        var(--card-background);

    border:
        1px solid var(--card-border);

    color:
        var(--text-color);
}

body.theme-light .admin-wheel-input::placeholder {

    color:
        var(--text-muted);
}

body.theme-light .admin-wheel-input option {

    background:
        var(--background-secondary);

    color:
        var(--text-color);
}

/*
|--------------------------------------------------------------------------
| ICON PICKER
|--------------------------------------------------------------------------
*/

body.theme-light .admin-wheel-icon-picker {

    background:
        var(--card-background);

    border:
        1px solid var(--card-border);

    color:
        var(--text-muted);
}

body.theme-light .admin-wheel-icon-picker:hover {

    border-color:
        rgba(255,52,52,0.20);
}

body.theme-light .admin-wheel-icon-picker.active {

    background:
        rgba(255,52,52,0.10);

    border-color:
        rgba(255,52,52,0.30);

    color:
        var(--primary-color);

    box-shadow:
        0 0 18px rgba(255,52,52,0.10);
}

/*
|--------------------------------------------------------------------------
| BUTTONS
|--------------------------------------------------------------------------
*/

body.theme-light .admin-wheel-edit {

    background:
        var(--card-background);

    border:
        1px solid var(--card-border);

    color:
        var(--text-color);
}

body.theme-light .admin-wheel-edit:hover {

    background:
        var(--card-background-hover);

    border-color:
        rgba(255,52,52,0.25);
}

body.theme-light .admin-wheel-delete {

    background:
        rgba(255,52,52,0.10);

    border:
        1px solid rgba(255,52,52,0.15);

    color:
        #DC2626;
}

/*
|--------------------------------------------------------------------------
| CLOSE BUTTON
|--------------------------------------------------------------------------
*/

body.theme-light .admin-wheel-modal-close {

    background:
        var(--card-background);

    border:
        1px solid var(--card-border);

    color:
        var(--text-color);
}

body.theme-light .admin-wheel-modal-close:hover {

    background:
        rgba(255,52,52,0.10);

    border-color:
        rgba(255,52,52,0.25);

    color:
        var(--primary-color);
}