/* IOS Toggle Switch Style */
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-round {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ef4444;
    /* Default Red (Not Confirmed) */
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider-round:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Checked State */
input:checked+.slider-round {
    background-color: #10b981;
    /* Green (Confirmed) */
}

input:checked+.slider-round:before {
    transform: translateX(30px);
}

/* Text Overlay inside the switch (Optional, but user asked for "writings") 
   We can add content via ::after or separate elements. 
   Let's try a simple approach with icons or external labels first, 
   or put text in the ::after pseudo element. */

.slider-round:after {
    content: "✕";
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    right: 10px;
    font-size: 14px;
    font-weight: bold;
}

input:checked+.slider-round:after {
    content: "✓";
    left: 10px;
    right: auto;
}

/* Status Badge */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-badge.confirmed {
    background-color: #d1fae5;
    color: #065f46;
}

.status-badge.pending {
    background-color: #fee2e2;
    color: #991b1b;
}