@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body, html {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Set the updated background image */
body {
    background: url('background.jpg') center center / cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* --- Login Box Area --- */

.login-wrapper {
    position: relative;
    z-index: 10;
}

.login-box {
    background-color: #ffffff;
    width: 380px;
    padding: 35px 30px 40px 30px;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Logo Setup */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}
.logo-img {
    height: 55px; /* Adjust height based on actual image aspect ratio */
    width: auto;
}

/* Divider ':: Webmail ::' */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 25px;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}
.divider span {
    padding: 0 10px;
}

/* Form Styling */
.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

label {
    font-size: 13px;
    color: #0d284f;
    margin-bottom: 8px;
}

.required {
    color: red;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    color: #495057;
    outline: none;
    transition: border-color 0.2s;
}

input[type="text"]::placeholder, input[type="password"]::placeholder {
    color: #adb5bd;
    font-size: 13px;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Captcha specific row matching exactly the layout */
.input-group-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 10px;
}

.captcha-input {
    width: 48%;
    display: flex;
    flex-direction: column;
}
.captcha-input input {
    padding-right: 5px;
}

.captcha-display {
    width: 48%;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #000;
    padding-bottom: 8px;
    font-family: "Courier New", monospace;
}

/* Links row */
.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 25px;
}
.form-links a {
    color: #0dcaf0; /* bright cyan blue */
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.form-links a:hover {
    color: #08a0df;
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    width: 100%;
    background-color: #ffffff;
    color: #2b1f5e;
    font-size: 14px;
    font-family: 'Segoe UI', Arial, sans-serif;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.login-btn:hover {
    background-color: #f8f9fa;
    border-color: #b3b3b3;
}
