/* General Styles */

body {
    background-color: #ffffff;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.custom-navbar {
    background: url('../man_hastam_web/images/background.png') no-repeat center center;
    background-size: cover;
    position: relative;
    height: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 40px;
}

.custom-navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 122, 54, 0.9);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 3;
}

/* Logo */
.nav-logo {
    width: 180px;
    height: auto;
    object-fit:contain;
}

/* Sign-up Button */
.btn-danger {
    padding: 8px 16px;
}

.page-title {
    color: white;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    align-self: center;
    z-index: 3;
}


.btn-danger {
    position: relative;
    z-index: 3; 
    border-radius: 2px;
    height: 30px;
    width: 100px;
    font-size: 12px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0 10px; 
    line-height: 1; 
    background-color: #FF0000;
}

/* Login Section */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85vh;
    margin-top: 40px;
}

.login-box {
    background-color: white;
    padding: 40px;
    /* border-radius: 8px; */
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    width: 100%;
    max-width: 600px;
    text-align: center;
    position: absolute;
}

.login-logo {
    width: 150px;
    /* height: 200px; */
    margin-bottom: 10px;
}

.welcome-text {
    color: #007A36;
    font-weight: 900;
    font-size: 50px;
    margin-bottom: 20px;
}

.form-control {
    height: 45px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-weight: lighter;
    color: #8B8B8B;
    font-size: 14px;
}

.login-btn {
    background-color: #007A36;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px;
    border-radius: 5px;
}

.login-btn:hover {
    background-color: #007A36;
    color: #fff;
}

.forgot-password {
    text-align: right; /* Align text to the right */
    display: block; /* Ensures it takes full width */
    width: 100%; /* Takes full width of parent container */
    margin-top: 10px; /* Adds space from input fields */
    font-size: 12px;
    color: #000000;
    text-decoration: none;
}

.forgot-password:hover {
    color: #007A36;
}

footer {
    background-color: #006B3F; /* Green background */
    color: white; /* White text */
    text-align: center;
    padding-top: 70px   ;
    padding-bottom: 0px;
    /* height: 300px; */
    margin-top: 50px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 100px; 
    width: 300px;
}

.footer-text {
    max-width: 700px; /* Control text width */
    margin: 0 auto;
    font-size: 16px;
    font-weight:100;
    line-height: 1.6;
    font-family: 'Lato', sans-serif;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.footer-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid white;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-icons a:hover {
    background-color: white;
    color: white;
}

.footer-links a{
    color: white;
    text-decoration: none;
}

.footer-bottom {
    background-color: #007A36; /* Darker green strip */
    padding: 10px 20px;
    font-size: 12px;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .login-container{
        margin-top: 30px;
    }
    .custom-navbar{
        height: 200px;
        margin-bottom: 30px;
        padding: 0px 5px;
    }
    .nav-logo {
        width: 150px;
        flex-direction: flex-start;
    }

    .page-title {
        font-size: 24px;
    }
    .welcome-text{
        font-size: 24px;    
    }

    .signup-btn {
        padding: 8px 12px;
        width: 100px;
    }
    .btn-danger{
        width: 70px;
        padding-right: 10px;
    }
    .footer-text{
        font-size: 12px;
    }
}

.dropbtn {
    background-color: #FF0000;
    color: white;
    padding: 16px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    height: 30px;
    width: 100px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.dropdown {
    position: relative;
    /* display: inline-block; */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 1px solid #FF0000;
    border-radius: 5px;
    right: 10px; 
    top: 35px;
}

.user-info {
    padding: 12px 16px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border:#FF0000;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.show {
    display: block;
}