@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;500;600&display=swap");

.font-playfair {
    font-family: "Playfair Display", serif;
}

body {
    font-family: "Inter", sans-serif;
    background: #f8fafc;
}

/* Custom styles */
.hero-grad {
    background: linear-gradient(135deg, #0b2a4a 0%, #1b4fd8 100%);
}

.hero-circle-1,
.hero-circle-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    top: -100px;
    right: -100px;
}

.hero-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -80px;
    top: auto;
    right: auto;
}

.text-sky {
    color: #7bc9ff;
}

.bg-sky {
    background: #7bc9ff;
}

.bg-sky\/20 {
    background: rgba(123, 201, 255, 0.2);
}

.bg-sky-lt {
    background: #e6f2ff;
}

.bg-brand {
    background: #1b4fd8;
}

.bg-brand-lt {
    background: #2f62ec;
}

.bg-brand-sm {
    background: rgba(27, 79, 216, 0.15);
}

.bg-brand-xs {
    background: rgba(27, 79, 216, 0.08);
}

.text-brand {
    color: #1b4fd8;
}

.border-brand-sm {
    border-color: rgba(27, 79, 216, 0.2);
}

.shadow-brand {
    box-shadow: 0 10px 25px -5px rgba(27, 79, 216, 0.4);
}

.bg-success {
    background: #10b981;
}

.bg-suc-lt {
    background: #d1fae5;
}

.text-success {
    color: #10b981;
}

.bg-slate-f {
    background: #f1f5f9;
}

.text-navy {
    color: #0b2a4a;
}

.shadow-card {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
}

.field-input,
.field-select {
    width: 100%;
    padding: 14px 18px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 0.95rem;
    transition: all 0.2s;
    outline: none;
}

.field-input:focus,
.field-select:focus {
    border-color: #1b4fd8;
    background: white;
    box-shadow: 0 0 0 4px rgba(27, 79, 216, 0.1);
}

.dosen-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.dosen-card:hover {
    border-color: #1b4fd8;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(27, 79, 216, 0.3);
}

.dosen-card.selected {
    border-color: #1b4fd8;
    background: rgba(27, 79, 216, 0.04);
}

.rating-wrap {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.rating-wrap input[type="radio"] {
    display: none;
}

.rating-wrap label {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    background: #f1f5f9;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.rating-wrap input[type="radio"]:checked + label {
    background: #1b4fd8;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(27, 79, 216, 0.4);
}

.rating-wrap label:hover {
    background: #e2e8f0;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-pop-in {
    animation: popIn 0.5s ease-out forwards;
}

.confetti-piece {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    animation: fall 3s linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(720deg);
    }
}
/* Tambahkan ini di helpers/survei.css */
.step-panel {
    display: none;
}
.step-panel.active {
    display: block;
}

/* Styling untuk Dosen Card */
.dosen-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #f1f5f9;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}
.dosen-card:hover {
    border-color: #1b4fd8;
    background-color: rgba(27, 79, 216, 0.05);
}
.dosen-card.selected {
    border-color: #1b4fd8;
    background-color: rgba(27, 79, 216, 0.08);
}
.dosen-card.selected i.fa-circle-check {
    opacity: 1;
}

/* Styling untuk Rating Radio Buttons */
.rating-wrap input[type="radio"] {
    display: none;
}
.rating-wrap label {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    border: 2px solid #f1f5f9;
    border-radius: 0.75rem;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}
.rating-wrap input[type="radio"]:checked + label {
    background-color: #1b4fd8;
    color: white;
    border-color: #1b4fd8;
    box-shadow: 0 4px 6px -1px rgba(27, 79, 216, 0.3);
}
.rating-wrap label:hover {
    background-color: #f1f5f9;
}
@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: shake 0.4s;
}
