/* 
 * Lemua Bank - Style Sheet
 * Single stylesheet for visual consistency and performance
 */

/* General Styles */
body { 
    font-family: 'Outfit', 'Inter', sans-serif; 
}

/* Page transitions */
.fade-in-body {
    opacity: 0;
    animation: fadeIn 0.4s forwards;
}

@keyframes fadeIn { 
    to { opacity: 1; } 
}

/* Hide scrollbar */
.no-scrollbar::-webkit-scrollbar { 
    display: none; 
}
.no-scrollbar { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

/* Spinner and Spin keyframes */
.spin-active { 
    animation: spin 1s linear infinite; 
}

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

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #B6F076; /* lemuaLime */
    width: 22px; 
    height: 22px;
    animation: spin 0.8s linear infinite;
}

/* Inputs styling */
input:read-only, textarea:read-only {
    background-color: #F9FAFB;
    color: #6B7280;
    cursor: not-allowed;
    border-bottom: 1px solid #E5E7EB !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

/* Optimization and performance classes */
.will-change-transform { 
    will-change: transform, opacity; 
}

/* --- Specific Page Styles --- */

/* index.html Landing Hero Pattern */
.hero-pattern {
    background-color: #E3F9E9; /* lemuaMint */
    background-image: radial-gradient(#2D5B88 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Login.html Ads Slider */
.ad-slide {
    position: absolute; 
    inset: 0; 
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    opacity: 0; 
    transition: opacity 1s ease-in-out;
}
.ad-slide.active { 
    opacity: 1; 
}

/* ScanQR.html Laser Scan Animation */
.scan-line {
    width: 100%; 
    height: 3px;
    background: #B6F076; /* lemuaLime */
    box-shadow: 0 0 10px #B6F076;
    position: absolute; 
    top: 0;
    animation: scan 2s infinite linear;
}

@keyframes scan {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Sholat.html Compass & Qibla Guide */
.compass-container {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(#E3F9E9 0% 1%, #fff 1% 24%, #E3F9E9 24% 26%, #fff 26% 49%, #E3F9E9 49% 51%, #fff 51% 74%, #E3F9E9 74% 76%, #fff 76% 99%, #E3F9E9 99% 100%);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 8px solid #fff;
}

.needle {
    position: absolute;
    top: 50%; 
    left: 50%;
    width: 6px; 
    height: 95px;
    background: #171A12;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    z-index: 10;
    border-radius: 4px;
    transition: transform 0.1s ease-out;
}

.qibla-guide {
    position: absolute;
    top: 50%; 
    left: 50%;
    width: 4px; 
    height: 105px;
    background: transparent;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    z-index: 5;
    border-left: 2.5px dashed #2D5B88;
    transition: transform 0.1s ease-out;
}

.kaaba-icon {
    position: absolute;
    top: -22px; 
    left: -10px;
    font-size: 20px;
}
