/* candidate_login.css */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #165d83, #1e90ff);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 20px;
}

.login-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    padding: 40px;
    text-align: center;
}

.logo-container img {
    width: 150px;
    margin-bottom: 20px;
}

h1 {
    font-size: 28px;
    margin: 10px 0;
    color: #333;
}

p {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #1e90ff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #1c86ee;
}

/* Switch login link styling */
.switch-login {
    margin-top: 20px;
}

.switch-login p {
    margin: 0 0 5px;
    color: #555;
    font-size: 14px;
}

.switch-login a {
    color: #1e90ff;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.switch-login a:hover {
    text-decoration: underline;
}

/* Popup styling */
.popup {
    display: none;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: #fff;
    padding: 20px;
    border: 2px solid #ff0000;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.popup-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
}