/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

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

/* --- Animations --- */
@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}
.animate-wave {
    display: inline-block;
    animation: wave 1.5s infinite;
}

/* --- Form Element Styles --- */
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
    border-color: #6366f1;
}
.custom-checkbox:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    background-color: #10b981;
    border-color: #10b981;
}

/* --- Card Locking Styles --- */
.card-locked .lock-overlay {
    display: flex;
}
.card-locked .card-content {
    filter: blur(4px);
    pointer-events: none;
}

/* --- Stamp Style for Invoice --- */
.stamp {
    border: 4px double #4a5568;
    border-radius: 50%;
    color: #2d3748;
    font-weight: bold;
    text-align: center;
    opacity: 0.8;
    transform: rotate(-12deg);
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- Modal Transitions --- */
.modal {
    transition: opacity 0.3s ease-in-out;
}
.modal-content {
    transition: transform 0.3s ease-in-out;
}

/* --- Utility Styles --- */
.body-no-scroll {
    overflow: hidden;
}
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* --- Professional Progress Bar Loader --- */
.loader-tube {
    width: 80%;
    height: 20px;
    background-color: #e0e7ff;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    border: 2px solid #c7d2fe;
}
.loader-tube-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #818cf8, #4f46e5);
    border-radius: 7px;
    transform-origin: left center;
    animation: fill-progress 4s linear forwards;
}
@keyframes fill-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
