/* ============ SQE PLANNER UI ============ */

#sqe-survey {
    max-width: 860px;
    margin: 40px auto;
    padding: 20px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.sqe-step-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.sqe-step-indicator {
    flex: 1;
    text-align: center;
    padding-bottom: 10px;
    font-weight: 500;
    color: #9ca3af;
    border-bottom: 2px solid #e5e7eb;
}

.sqe-step-indicator.active {
    color: #111827;
    border-bottom: 3px solid #CCDB2A;
}

.sqe-step-indicator.completed {
    color: var(--main-lavanda);
    border-bottom: 3px solid var(--main-lavanda);
}

.step {
    background: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    animation: fadeInStep 0.35s ease;
}

@keyframes fadeInStep {
    from { opacity:0; transform: translateY(12px); }
    to   { opacity:1; transform: translateY(0); }
}

h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
}

form label {
    display: block;
    margin-top: 18px;
    font-weight: 500;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form input[type="date"],
form select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    margin-top: 6px;
    font-size: 15px;
    transition: border-color .2s ease;
}

form input:focus,
form select:focus {
    border-color: #CCDB2A;
    outline: none;
}

.sqe-error {
    border-color: #dc2626 !important;
    background: #fef2f2;
}

.sqe-error-block {
    border: 1px solid #dc2626 !important;
    background: #fef2f2;
    padding: 8px;
}

.step-nav {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

button.next,
button.prev,
button.submit,
#sqeConnectGoogle {
    background: #CCDB2A;
    color: #fff;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s ease;
}

button.prev {
    background: #6b7280;
}

button.next:hover,
button.submit:hover,
#sqeConnectGoogle:hover {
    /* background: #1e4ec9; */
}

button.prev:hover {
    background: #4b5563;
}

button[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

/* === Cards === */
.sqe-card-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.sqe-card {
    background: #f9fafb;
    border-radius: 10px;
    padding: 16px 18px;
    width: calc(50% - 10px);
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all .2s ease;
}

.sqe-card:hover {
    border-color: #CCDB2A;
    background: #eff6ff;
}

.sqe-card.selected {
    border-color: #CCDB2A;
    background: #dbeafe;
}

.sqe-card input {
    display: none;
}

#sqeResult {
    margin-top: 20px;
    padding: 15px;
    background: #eef2ff;
    border-radius: 8px;
    color: #1e3a8a;
    display: none;
}
#sqeResult {
    margin-top: 20px;
    padding: 15px;
    background: #eef2ff;
    border-radius: 8px;
    color: #1e3a8a;
    display: none;
}
.sqe-sortable {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.sqe-sortable li {
    background: #f9fafb;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    cursor: move;
    font-weight: 500;
    transition: background .2s;
}

.sqe-sortable li:hover {
    background: #eff6ff;
}

/* DAYS OFF SELECTION UI */
.sqe-days-off-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.sqe-day-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all .2s ease;
    user-select: none;
    margin: 0;
}

.sqe-day-card input {
    display: none;
}

.sqe-day-card:hover {
    border-color: #CCDB2A;
    background: #eff6ff;
    cursor: pointer;
}

.sqe-day-card.selected {
    border-color: #CCDB2A;
    background: #dbeafe;
}

.sqe-day-card-extra {
    background: #fff7ed;
    border-color: #fdba74;
}

.sqe-day-card-extra:hover {
    background: #ffedd5;
    border-color: #fb923c;
}

.sqe-day-card-extra.selected {
    background: #fed7aa;
    border-color: #f97316;
}
.sqe-days-off-group{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.sqe-day-card{
    width: calc(50% - 5px);
}
/* === Custom Radio Card Buttons === */
.sqe-radio-card {
    display: block;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all .2s ease;
    user-select: none;
}

.sqe-radio-card:hover {
    border-color: #CCDB2A;
    background: #eff6ff;
}

.sqe-radio-card input {
    display: none;
}

.sqe-radio-card.selected {
    border-color: #CCDB2A;
    background: #dbeafe;
}

.sqe-radio-card small {
    color: #6b7280;
    font-size: 13px;
}
.sqeLpcModifier_wrap{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sqe-radio-card{
    width: calc(50% - 5px);
    margin: 0;
}
/* ----------- DRAG & DROP BEAUTIFUL STYLE ----------- */

.sqe-dnd-list {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.sqe-dnd-item {
    background: #f9fafb;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    margin-bottom: 10px;
    cursor: grab;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transition: all .2s ease;
}

.sqe-dnd-item:hover {
    background: #eff6ff;
    border-color: #CCDB2A;
}

.sqe-dnd-item.dragging {
    opacity: 0.7;
    background: #dbeafe;
    border-color: #CCDB2A;
    cursor: grabbing;
    transform: scale(1.02);
}

.sqe-dnd-handle {
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" fill="gray" xmlns="http://www.w3.org/2000/svg"><circle cx="5" cy="5" r="2"/><circle cx="5" cy="10" r="2"/><circle cx="5" cy="15" r="2"/><circle cx="12" cy="5" r="2"/><circle cx="12" cy="10" r="2"/><circle cx="12" cy="15" r="2"/></svg>')
        center/contain no-repeat;
    cursor: grab;
}

.sqe-dnd-placeholder {
    height: 50px;
    border: 2px dashed #93c5fd;
    border-radius: 10px;
    margin-bottom: 10px;
}

.sqe-dnd-subject {
    flex: 1;
    min-width: 0;
}

.sqe-dnd-remove {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    opacity: 0.3;
    transition: opacity .2s;
    flex-shrink: 0;
    line-height: 0;
}
.sqe-dnd-remove:hover {
    opacity: 1;
}
.sqe-dnd-remove svg {
    fill: #b91c1c;
    display: block;
}
.sqe-block-sqe1 .sqe-radio-card,
.sqe-block-sqe2 .sqe-radio-card{
    margin-bottom: 12px;
}
.sqe-btn-red {
    background:#dc2626;
    color:#fff;
    padding:12px 20px;
    border:none;
    border-radius:6px;
    cursor:pointer;
    font-weight:bold;
}

.sqe-btn-red:hover {
    background:#b91c1c;
}
/* ============================= */
/* EXAM DATE BUTTONS */
/* ============================= */

.sqe-exam-dates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.sqe-exam-card {
    position: relative;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 14px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
}

/* hide native radio */
.sqe-exam-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* text */
.sqe-exam-card span {
    font-weight: 600;
    font-size: 15px;
    color: #111827;
}

/* hover */
.sqe-exam-card:hover {
    border-color: #c7d2fe;
    background: #f5f7ff;
}

/* selected state (JS додає .selected) */
.sqe-exam-card.selected {
    border-color: #4f46e5;
    background: #eef2ff;
}

/* selected text */
.sqe-exam-card.selected span {
    color: #3730a3;
}

/* optional: focus via keyboard */
.sqe-exam-card input[type="radio"]:focus-visible + span {
    outline: 2px solid #6366f1;
    outline-offset: 4px;
}
.sqe-candidate-status-wrap{
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr 1fr;
}
.sqe-candidate-status-wrap .sqe-radio-card{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* mobile spacing tweak */
@media (max-width: 480px) {
    .sqe-exam-card {
        padding: 14px 10px;
        font-size: 14px;
    }
}
.sqe-exam-card.sqe-disabled {
    opacity: 0.45;
    pointer-events: none;
    background: #f5f5f5;
}

.sqe-exam-card.sqe-exam-card-past {
    opacity: 0.4;
    pointer-events: none;
    background: #f5f5f5;
    text-decoration: line-through;
    cursor: not-allowed;
}

.sqe-exam-card small {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

.sqe-date-field {
  position: relative;
  max-width: 320px;
}

.sqe-date-field input[type="date"] {
  width: 100%;
  padding-right: 44px;
}

.sqe-date-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.7;
}

.sqe-date-btn:hover {
  opacity: 1;
}

input.sqe-error {
  border: 2px solid #dc2626;
}
#sqe-survey h1{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
#sqe-survey img{
    width: 70px;
    height: auto;
    margin-right: 20px;
}
.examPage_title{
    display: none;
}