﻿/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: url("../Images/Homepage1.JPG") no-repeat center center fixed;
    background-size: cover; /* Ensures the image covers the entire background */
    color: #333; /* Dark text for contrast */
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 100vh;*/
}

h1, p {
    margin: 0;
}

a {
    color: #007bff;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* Login Card Container */
.login-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    box-sizing: border-box;
}

    /* Header */
    .login-card h1 {
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    /* Form Fields */
    .login-card form {
        display: flex;
        flex-direction: column;
    }

    .login-card input {
        padding: 10px;
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 14px;
    }

        .login-card input:focus {
            border-color: #007bff;
            outline: none;
        }

    /* Buttons */
    .login-card button {
        background-color: #007bff;
        color: #fff;
        padding: 10px;
        font-size: 16px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

        .login-card button:hover {
            background-color: #0056b3;
        }

.secondary-button {
    background-color: #6c757d;
    margin-top: 1rem;
}

    .secondary-button:hover {
        background-color: #5a6268;
        color:white;
    }

/* Forgot Password Link */
.login-card .forgot-password {
    text-align: right;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-size: 14px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    position: relative;
    font-size: 14px;
    color: #aaa;
}

    .divider::before, .divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background-color: #ccc;
    }

    .divider::before {
        margin-right: 10px;
    }

    .divider::after {
        margin-left: 10px;
    }

/* Call to Action for Registration */
.register-text {
    text-align: center;
    margin-top: 1.5rem;
}

    .register-text button {
        background-color: transparent;
        color: #007bff;
        border: none;
        font-size: 16px;
        cursor: pointer;
    }

        .register-text button:hover {
            text-decoration: underline;
        }

/* Responsive Design */
@media (max-width: 768px) {
    .login-card {
        padding: 1.5rem;
    }

        .login-card h1 {
            font-size: 20px;
        }

        .login-card input, .login-card button {
            font-size: 14px;
        }
}


/* Login Card Adjustments */
.login-card {
    margin-top: 100px; /* To avoid overlap with the header */
    margin-bottom: 100px; /* To avoid overlap with the footer */
    flex:1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        align-items: flex-start;
    }

        .main-header .nav-links {
            flex-direction: column;
            gap: 10px;
        }

    .main-footer {
        font-size: 14px;
    }
}

.position-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

    .position-actions .asp-button {
        padding: 10px 15px;
        font-size: 14px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

.apply-button {
    background-color: rgb(54, 96, 146);
    color: #fff;
}

    .apply-button:hover {
        background-color: #0056b3;
        color: #fff;
    }

.forgot-password {
    text-align: right;
    margin: 8px 0 16px;
}

.forgot-link {
    font-size: 0.9rem;
    color: #007bff; /* Adjust color to match your theme */
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .forgot-link:hover {
        color: #0056b3; /* Darker shade for hover */
        text-decoration: underline;
    }