.form-group{margin-bottom:20px}
label{display:block;margin-bottom:8px;font-weight:600;color:var(--text-primary);font-size:14px}
input,textarea,select{width:100%;padding:12px;border:2px solid var(--border-color);border-radius:8px;font-size:16px;background:var(--card-bg);color:var(--text-primary)}
input:focus,textarea:focus{outline:none;border-color:var(--accent-color);box-shadow:0 0 20px rgba(14,165,233,0.6)}
input::placeholder,textarea::placeholder{color:var(--text-secondary)}
textarea{min-height:100px;resize:vertical;font-family:inherit}
/* Toggle pill — visually a button row, semantically still a checkbox.
   The whole card is clickable via the <label>; the native checkbox is
   visually replaced with an iOS-style switch on the right. */
.checkbox-group{
    position:relative;
    display:flex;
    align-items:center;
    gap:14px;
    margin:14px 0 18px;
    padding:14px 18px;
    background:linear-gradient(135deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.7) 100%);
    border-radius:14px;
    border:2px solid rgba(56,189,248,0.18);
    cursor:pointer;
    transition:border-color .2s ease, background .2s ease, transform .15s ease;
    user-select:none;
}
.checkbox-group:hover{
    border-color:rgba(56,189,248,0.45);
    transform:translateY(-1px);
}
.checkbox-group:has(input[type="checkbox"]:checked){
    border-color:var(--accent-color);
    background:linear-gradient(135deg, rgba(14,165,233,0.10) 0%, rgba(14,165,233,0.20) 100%);
}
.checkbox-group::before{
    content:"+";
    flex-shrink:0;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(56,189,248,0.15);
    color:var(--accent-color);
    font-size:22px;
    font-weight:700;
    line-height:1;
    transition:all .25s ease;
}
.checkbox-group:has(input[type="checkbox"]:checked)::before{
    content:"✓";
    background:var(--accent-color);
    color:white;
    transform:rotate(0deg);
}
/* Hide the native checkbox visually; keep it accessible & functional */
.checkbox-group input[type="checkbox"]{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    margin:0;
    opacity:0;
    cursor:pointer;
    z-index:2;
}
.checkbox-group label{
    margin:0;
    flex:1;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    color:var(--text-primary);
    line-height:1.3;
}
/* iOS-style toggle pill on the right */
.checkbox-group::after{
    content:"";
    flex-shrink:0;
    width:46px;
    height:26px;
    border-radius:14px;
    background:rgba(148,163,184,0.25);
    position:relative;
    transition:background .25s ease;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,0.05);
}
.checkbox-group:has(input[type="checkbox"]:checked)::after{
    background:var(--accent-color);
}
/* The thumb of the toggle — drawn via a child pseudo on the input itself
   isn't possible, so we use a layered radial-gradient on ::after. */
.checkbox-group::after{
    background-image:radial-gradient(circle 9px at 13px center, white 100%, transparent 101%);
    background-color:rgba(148,163,184,0.25);
}
.checkbox-group:has(input[type="checkbox"]:checked)::after{
    background-image:radial-gradient(circle 9px at 33px center, white 100%, transparent 101%);
    background-color:var(--accent-color);
}
.high-school-section,.work-experience-section,.photo-section,.references-section{display:none;margin-top:20px;padding:20px;background:var(--container-bg-1);border-radius:12px;border:2px solid var(--border-color)}
.work-experience-item,.reference-item{background:var(--card-bg);padding:20px;border-radius:8px;margin-bottom:15px;border-left:4px solid var(--accent-color);position:relative}
.remove-experience,.remove-reference{position:absolute;top:10px;right:10px;background:#ef4444;color:white;border:none;border-radius:4px;padding:4px 8px;cursor:pointer;font-size:12px}
.add-experience,.add-reference{background:var(--accent-color);color:white;border:none;border-radius:6px;padding:10px 15px;cursor:pointer;font-size:14px;margin-top:10px}
.photo-upload-area{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.photo-preview{width:120px;height:120px;border:2px dashed var(--border-color);border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--card-bg)}
.photo-preview img{width:100%;height:100%;object-fit:cover}
.photo-preview-text{color:var(--text-secondary);font-size:12px;text-align:center}
.photo-upload-btn{background:var(--accent-color);color:white;border:none;border-radius:6px;padding:10px 20px;cursor:pointer}
.btn{padding:14px 28px;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;width:100%;margin-top:10px}
.btn-secondary{background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:white}
.btn-secondary:hover{transform:translateY(-2px)}
.btn-email{background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);color:white}
.btn-ajiracenter{background:linear-gradient(135deg,#fbbf24 0%,#f59e0b 100%);color:#1a1a2e;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700}
.gender-option{display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;padding:12px 20px;border:2px solid rgba(56,189,248,0.2);border-radius:12px;background:rgba(15,23,42,0.5);min-width:120px;color:var(--text-primary);transition:all 0.3s}
.gender-option:hover,.gender-option.selected{border-color:var(--accent-color)}
.gender-option.selected{background:rgba(56,189,248,0.1)}
.cover-letter-form{background:var(--card-bg);border-radius:12px;padding:25px;border:2px solid var(--border-color)}
