/* static/css/styles.css */

body {
    margin: 0;
    padding: 0;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    font-family: 'Outfit', sans-serif;
}

.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background-color: rgba(245, 245, 245, 0.9);  /* Light grey background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    width: 450px;
    transition: all 0.3s ease;
}


.logo-container {
    margin-bottom: 10px; /* Spacing between logo and title */
    position: relative;
    top: -80px;  /* Adjust the logo position relative to the box */
}

.logo-circle {
    background-color: #01497c;  /* Blue circle */
    border-radius: 50%;
    padding: 15px;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;  /* Center the logo */
}

.logo {
    width: 60px;
}

h2 {
    margin-top: 20px;  /* Adjust the spacing between the logo and heading */
    font-size: 24px;
    color: #333;
    font-weight: bold;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-control {
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn {
    width: 48%;  /* Both buttons will take up 48% of the width to leave space between them */
    transition: all 0.3s ease;  /* Smooth transition for hover effects */
}

.btn-login {
    background-color: #01497c;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    width: 48%;
    color: white;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #013f6b;  /* Darker blue on hover */
    transform: scale(1.05);  /* Slight zoom on hover */
}

.btn-register {
    background-color: #f5f5f5;  /* Light grey for Register button */
    color: #333;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    width: 48%;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.btn-register:hover {
    background-color: #e0e0e0;  /* Slightly darker grey on hover */
    transform: scale(1.05);  /* Slight zoom on hover */
    text-decoration: none;
    color: #000;
}

.google-login {
    margin-top: 20px;
    text-align: center;
}

.google-login img {
    width: 20px; /* Set the appropriate size for the SVG */
    margin-right: 10px;
}

.google-login .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border: 1px solid #ccc;
    font-size: 16px;
    background-color: #fff; /* White background for the Google button */
    color: #333;
    padding: 10px;
    border-radius: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.google-login .btn:hover {
    background-color: #f0f0f0;  /* Slightly darker background on hover */
    /* transform: scale(1.05);  Slight zoom on hover */
}

.forgot-password {
    font-size: 12px;
    color: #1a73e8;
    text-align: left;
    display: block;
    margin-top: -10px;
}

.forgot-password:hover {
    text-decoration: none;
}

p {
    margin: 10px 0 5px;
    font-size: 14px;
    color: #333;
    text-align: center;
    
}


/* Styling for the progress bar (loader line) */
.progress {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}

.progress-bar {
    background-color: #004080;  /* Dark blue color for the progress bar */
    width: 100%;
    height: 100%;
    transition: width 5s linear;  /* Smooth transition over 5 seconds */
}

@media (max-width: 768px) {
    .sidebar {
        width: 80px;
    }
    .content {
        margin-left: 90px;
    }
    .sidebar-nav a span {
        display: none;  /* Hide text labels on small screens */
    }
    .sidebar-nav i {
        margin-right: 0;
    }
}
