/* static/css/styles.css */
/* General styles for the entire website */

/* Global settings */
body {
    font-family: "Satoshi",sans-serif;
    background-color: #14213D;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Webkit browsers (Chrome, Safari, newer Edge) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2e416a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #4a5d8a;
    border-radius: 4px;
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6d9a;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #4a5d8a #2e416a;
}

/* Flash Messages */
.flash {
    padding: 15px 20px;
    margin: 10px auto;
    width: 80%;
    max-width: 600px;
    border-radius: 12px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.98;
    transform: translateY(0);
    animation: slideIn 0.5s ease-out, fadeOut 0.5s ease-out 3.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 0.98;
    }
}

@keyframes fadeOut {
    from {
        opacity: 0.98;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
        display: none;
    }
}

.flash:hover {
    opacity: 1;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.flash-messages {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;   
    pointer-events: none;
}

.flash {
    pointer-events: auto;
}

.flash.success {
    background-color: #10B981;
    color: white;
    border: none;
}

.flash.danger {
    background-color: #EF4444;
    color: white;
    border: none;
}

.flash.info {
    background-color: #3B82F6;
    color: white;
    border: none;
}

label {
    display: inline-block;
    width: 100px;
    color: #FFFFFF;
}

button {
    padding: 10px 15px;
    background-color: #FFFFFF;
    color: #14213D;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #f2f2f2;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

.site-footer {
    background-color: #1a2a4c;
    padding: 40px 0 20px;
    margin-top: auto;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 30px;
}

.footer-section h3 {
    font-family: 'SUSE', sans-serif;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-section p {
    font-family: 'Poppins', sans-serif;
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    font-family: 'Poppins', sans-serif;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.475);
}

.footer-bottom p {
    font-family: 'Poppins', sans-serif;
    color: #a0a0a0;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
}
