/* Card Wrapper */
.bdpsuc-theme-card {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 15px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* Hide native radio */
.bdpsuc--radio input {
    display: none;
}

/* Theme Card */
.bdpsuc-radio-btn {
    width: 350px;
    height: 200px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;

    -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* Hover Effect */
.bdpsuc-radio-btn:hover {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Active Check Icon */
.bdpsuc-radio-btn>i {
    position: absolute;
    top: 8px;
    right: 8px;

    font-size: 24px;
    padding: 6px;

    color: #ffffff;
    background: #22c55e;
    border-radius: 50%;

    opacity: 0;
    -webkit-transform: scale(0.6);
    -ms-transform: scale(0.6);
    transform: scale(0.6);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;

    line-height: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* Center Icon/Image */
.bdpsuc-radio-btn .hobbies-icon {
    width: 120px;
    height: 120px;

    position: absolute;
    top: 45%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.bdpsuc-radio-btn .hobbies-icon img {
    width: 100%;
    display: block;
}

.bdpsuc-radio-btn .hobbies-icon i {
    font-size: 56px;
    color: #6b7280;
}

/* Theme Name Footer */
.bdpsuc-theme-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 8px;
    text-align: center;

    font-size: 14px;
    font-weight: 600;
    color: #111827;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

/* Checked State */
.bdpsuc--radio input:checked+.bdpsuc-radio-btn {
    border-color: #22c55e;
    -webkit-box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.bdpsuc--radio input:checked+.bdpsuc-radio-btn>i {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

/* =================================================================
                            Toggle Switch
==================================================================== */
.bdpsuc-switch-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 15px;
}

/* Hide checkbox */
.bdpsuc-switch-wrapper input {
    position: absolute;
    left: -9999px;
}

/* Switch container */
.bdpsuc-switch-label {
    cursor: pointer;
    position: relative;
    display: inline-block;
    width: 121px;
    height: 30px;
    font-weight: 600;
    background: transparent;
    border: 2px solid #dcdcde;
    transition: border-color 0.2s ease;
}

/* Text */
.bdpsuc-switch-label::before,
.bdpsuc-switch-label::after {
    position: absolute;
    top: 0;
    line-height: 30px;
    font-size: 14px;
    z-index: 2;
    transition: color 0.2s ease;
}

.bdpsuc-switch-label::before {
    content: "OFF";
    left: 18px;
    color: #ffffff;
}

.bdpsuc-switch-label::after {
    content: "ON";
    right: 20px;
    color: #1d2327;
}

/* Slider */
.bdpsuc-switch-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 1;
    width: 55px;
    height: 24px;
    background: #d63638;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

/* Checked state */
.bdpsuc-switch-wrapper input:checked+.bdpsuc-switch-label .bdpsuc-switch-slider {
    transform: translateX(60px);
    background: #46b450;
}

.bdpsuc-switch-wrapper input:checked+.bdpsuc-switch-label::before {
    color: #1d2327;
}

.bdpsuc-switch-wrapper input:checked+.bdpsuc-switch-label::after {
    color: #ffffff;
}

/* Optional polish */
.bdpsuc-switch-label,
.bdpsuc-switch-slider {
    border-radius: 3px;
}

.margin-top-2 {
    margin-top: 5px !important;
}