@font-face {
    font-family: 'Lato';
    src: url('/uploads/Lato-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

.show-modal {
    display: block !important;
    animation: modalIn 0.3s cubic-bezier(.4,0,.2,1);
}
.modal-custom {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.25);
    align-items: center; justify-content: center;
}
.modal-content-custom {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 2rem 2.5rem;
    max-width: 420px;
    margin: auto;
    animation: modalContentIn 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalContentIn { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
#modal-backdrop { display: none; position: fixed; z-index: 1040; left:0; top:0; width:100vw; height:100vh; background:rgba(0,0,0,0.18); }
.custom-toast {
    position: fixed;
    bottom: 2rem; right: 2rem;
    background: #38f9d7;
    color: #222;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 2000;
}
.custom-toast.show { opacity: 1; }
.option-input:focus {
    border: 2px solid #38f9d7;
    background: #e6fffa;
}
.form-select:focus {
    border: 2px solid #43e97b;
    background: #f0fff4;
}
.input-group-text {
    background: #f6d365;
    color: #fff;
    border: none;
    font-weight: bold;
    font-size: 1.1rem;
}
/* Modern sınav uygulaması teması */
body {
    background: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
    min-height: 100vh;
    font-family: 'Lato', 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.card-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 650px;
    margin: 2rem auto;
    position: relative;
}

.card-form h2 {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.form-label {
    font-weight: 600;
    color: #4a5568;
}

.form-select, .form-control {
    font-family: 'Lato', 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.btn-success {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    border: none;
body, .exam-container, .question, .choice, .btn {
    font-family: 'Lato', sans-serif;
}
    padding: 0.6rem 2.2rem;
    margin-right: 0.5rem;
}

.btn-secondary {
    background: #a0aec0;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 2.2rem;
    font-weight: 600;
}

.icon-preview {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: #4299e1;
}

.preview-box {
    background: #f7fafc;
    border: 1px dashed #cbd5e0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bg-gradient {
    background: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
}

@media (max-width: 700px) {
    .card-form { padding: 1.2rem 0.5rem; }
}
