/* Definisi Kustom dan Glassmorphism Base */
.shadow-soft {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
}
.bg-glass {
    /* Glassmorphism Effect */
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Tombol Utama (Gradient) */
.btn-main {
    background-image: linear-gradient(135deg, #209F84 0%, #10B981 100%);
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px -5px rgba(16, 185, 129, 0.7);
}
.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -5px rgba(16, 185, 129, 0.9);
}

/* Gaya Transisi Langkah */
.step.hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.step {
    transition: opacity 0.4s ease-in-out;
}

/* Gaya Khusus untuk Input Arab */
#arabic-text {
    /* Font yang diimpor di HTML */
    font-family: 'Amiri', serif;
    direction: rtl;
}

/* Kartu Kata */
.word-analysis {
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.word-analysis:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 15px -5px rgba(6, 78, 59, 0.3);
}
.word-analysis.selected {
    background-color: #047857 !important; /* Teal 700 */
    color: white !important;
}

/* Animasi Loading */
.spinner {
    border-top-color: #10B981;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

