/* ===========================
   GLOBAL STYLES
=========================== */
html, body {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom right, #093979, #0056b3);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background Diagonal Shape */
body::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 60%;
    background: #f8f9fa;
    top: 0;
    left: 0;
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 0% 100%);
    z-index: -1;
}

/* ===========================
   CONTAINER STYLES
=========================== */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    flex-grow: 1;
}

/* Employer Signup Container */
.employer-signup-container {
    background: #fff;
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Login Container */
.login-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===========================
   NAVIGATION STYLES
=========================== */
.nav-pills .nav-link {
    border-radius: 8px; /* Slightly rounded corners for a modern look */
    transition: all 0.3s ease-in-out;
    padding: 10px 15px; /* Improved spacing */
    color: #333; /* Default text color */
    background: transparent;
}

.nav-pills .nav-link:hover {
    background: rgba(255, 255, 255, 0.1); /* Light hover effect */
    color: #007bff; /* Accent color */
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Gradient for a premium look */
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

/* ===========================
   FORM STYLES
=========================== */
.form-control,
.form-select {
    border: 1px solid #ced4da !important;
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: #0056b3 !important;
    box-shadow: 0px 0px 8px rgba(0, 86, 179, 0.3) !important;
    outline: none !important;
}

/* Labels */
.form-label {
    font-weight: 600;
    color: #333;
}

/* Input Group */
.input-group-text {
    background: #f8f9fa;
    border-right: none;
}

.input-group .form-control {
    border-left: none;
}

/* Password Toggle Icon */
.toggle-password {
    border-left: none;
    cursor: pointer;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #888;
}

.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ===========================
   BUTTONS & LINKS
=========================== */
.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    border: none !important;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085) !important;
}

/* Links */
a {
    text-decoration: none;
}

.forgot-link, .footer-text a {
    color: #093979;
    font-size: 14px;
}

.forgot-link:hover, .footer-text a:hover {
    text-decoration: underline;
}

/* ===========================
   RESPONSIVE DESIGN
=========================== */
@media (max-width: 992px) {
    .container {
        padding: 15px;
    }

    .employer-signup-container {
        width: 100%;
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .employer-signup-container {
        width: 100%;
        padding: 25px;
    }
}

/* ===========================
   FOOTER STYLES
=========================== */
footer {
    text-align: center;
    padding: 10px;
    background: transparent;
    margin-top: auto;
}

.footer-text {
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

/* Alert container styling */
.alert-container {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    padding: 15px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    z-index: 9999;
    display: none; /* Initially hidden */
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .alert-container {
        width: 80%;
    }
}





