/* my_project/static/css/styles.css */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f9f9f9;
    padding: 0;
    margin: 0;
}

/* Global Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
/* header nav {
    display: flex;
    flex-direction: row; 
    justify-content: space-around; 
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa; 
    border-bottom: 2px solid #ddd; 
} */

header nav {
    display: flex;
    justify-content: space-between; /* Separate brand and links */
    align-items: center;
    padding: 10px 40px;
    background-color: #f8f9fa;
    border-bottom: 2px solid #ddd;
}

header .brand {
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
}

header .nav-links {
    display: flex;
    gap: 15px;
}

/* All other styles for a, a:hover, etc., remain the same */


header nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 8px 15px; /* Adjust padding for better clickability */
    border-radius: 4px;
    margin: 0 5px; /* Horizontal margin for space between links */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

header nav a:hover {
    background-color: #007bff; /* Changes background on hover */
    color: white;
    font-weight: bold;
    transform: scale(1.1); /* Slight zoom effect */
}


header nav a {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    transition: all 0.3s ease;
}

header nav a:hover {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    font-weight: bold;
}

header nav a i {
    margin-right: 5px; /* Add spacing between icon and text */
}

header nav a:focus {
    outline: 2px solid #007bff; /* Visible focus for accessibility */
    background-color: #e9ecef; /* Subtle background change on focus */
}

@media (max-width: 768px) {
    header nav {
        flex-direction: column; /* Stack links vertically on small screens */
        align-items: flex-start; /* Align links to the left */
        padding: 15px;
    }

    header nav a {
        width: 100%; /* Make links span full width */
        text-align: left; /* Align text to the left */
    }
} 

.brand {
    cursor: pointer;
}

/* Ensure full height for the page */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Wrapper for content */
.content-wrapper {
    flex: 1; /* Allows the content to stretch and push the footer down */
    display: flex;
    flex-direction: column;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 10px 20px;
    background: #222222;
    color: #f9f9f9;
    font-size: 14px;
    margin-top: auto; /* Pushes the footer to the bottom */
}

/* Footer Styles */
/* footer {
    text-align: center;
    padding: 10px 20px;
    background: #222222;
    color: #f9f9f9;
    margin-top: 20px;
    font-size: 14px;
} */

/* Buttons */
button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.pt-10 {
    padding-top: 10px;
}

.pb-10 {
    padding-bottom: 10px;
}

#messages {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1000;
}

#messages.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#messages.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


#next-step-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

#next-step-btn:hover {
    background-color: #2c80b4;
}

#next-step-wrapper {
    text-align: right;
    margin-top: 10px;
}

