/* Default Light Mode Styles */
body {
    background-color: #f9f9f9;
    color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    direction: rtl; /* Right-to-left text direction for Persian */
    font-family: 'Vazir', sans-serif; /* Use Vazir font */
}

.card {
    background-color: #fff;
    border: 2px solid #b8860b; /* Gold border for card */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center contents of the card */
}

.card h1 {
    color: #b8860b; /* Gold color for the heading */
}

.btn-dark {
    background-color: #444;
    border: 1px solid #555;
    color: #fff;
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Smooth transition for hover effect */
}

.btn-dark i {
    margin-left: 8px; /* Add space between the icon and the text */
}

.btn-dark:hover {
    background-color: #b8860b; /* Change background to gold on hover */
    border-color: #daa520; /* Slightly different gold shade for border on hover */
    color: #1a1a1a; /* Dark text color on gold button */
}

.logo {
    width: 100px; /* Adjust the size as needed */
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

ul.container {
    border-top: 1px solid #b8860b; /* Gold top border for the container */
    padding-top: 20px; /* Add spacing at the top */
}

/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #f9f9f9;
    }

    .card {
        background-color: #333;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    }

    .btn-dark {
        background-color: #444;
        border-color: #555;
        color: #fff;
    }

    .btn-dark:hover {
        background-color: #b8860b;
        border-color: #daa520;
        color: #1a1a1a;
    }
}

/* Responsive design for mobile devices */
@media (max-width: 576px) {
    .card {
        margin: 0 10px;
    }

    .logo {
        width: 80px; /* Adjust the size for smaller screens */
    }
}