﻿@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam/Shabnam.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
* {
    font-family: 'Shabnam';
}
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    position: relative;
    direction: rtl;
}

.container{
    margin-top:25px;
}
.form-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.form-group label {
    text-align: right;
    display: block;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #343a40;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 5px rgba(220,53,69,0.5);
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

    button:hover {
        background-color: #0056b3;
    }

.additional-fields {
    display: none; 
    animation: fadeIn 1s;
}

.maliPlusLogo {
    height: 300px;
    width: 300px;
    margin-bottom: 0;
}
.error-message {
    display: none;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}
/* Styles for loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px); /* Blur effect */
    display: none; /* Initially hidden */
}

.loading-spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
