/* Base Reset and Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    height: 100vh;
    width: 100vw;
    /* User should place their background image here */
    background: url('img/xx.png') no-repeat center center/cover;
    background-color: #1a365d; /* Fallback color */
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay to darken the background */
    background: linear-gradient(135deg, rgba(30, 60, 90, 0.85) 0%, rgba(50, 80, 100, 0.7) 100%);
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 50px 100px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.header {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.emblem-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
}

.pdeu-seal-img {
    height: 70px;
    width: 70px;
    /* Placeholder styles until user adds image */
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 5px;
}

.ugc-text {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text-main h1 {
    font-size: 56px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-subtext {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-top: 5px;
}

.formerly-text {
    font-size: 17px;
    font-weight: bold;
    margin-top: 5px;
    color: #cbd5e1;
}

.vertical-divider {
    width: 1px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 30px;
}

.poss-container {
    display: flex;
    align-items: center;
}

.poss-logo-img {
    height: 70px;
}

.poss-text-wrapper {
    display: flex;
    flex-direction: column;
}

.poss-text-wrapper h1 {
    font-size: 56px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1;
    color: #ffffff;
}

.poss-subtext {
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 5px;
    color: #cbd5e1;
}

/* Main Content Styles */
.main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
}

.info-section {
    max-width: 550px;
    padding-top: 20px;
}

.info-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.info-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #e2e8f0;
}

.info-section .small-text {
    font-size: 13px;
    color: #cbd5e1;
}

/* Login Form Styles */
.login-section {
    width: 380px;
    margin-right: 20px;
}

.login-box {
    background-color: #f8fafc;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: #333333;
    position: relative;
}

.login-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px;
    justify-content: center;
}

.lock-icon {
    width: 50px;
    height: 50px;
    /* Placeholder for the lock icon with checkmark */
    background-color: transparent;
}

.login-header h3 {
    color: #64748b;
    font-size: 22px;
    font-weight: 400;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    background-color: #e0f2fe; /* light blue background as in the image */
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input[type="password"] {
    letter-spacing: 2px;
}

.input-group input:focus {
    border-color: #3b82f6;
    background-color: #ffffff;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    width: 13px;
    height: 13px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 12px;
    color: #64748b;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #3b82f6; /* Blue button */
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #2563eb;
}

.login-footer {
    margin-top: 25px;
    text-align: left;
}

.login-footer a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 12px;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.footer {
    position: absolute;
    bottom: 40px;
    left: 100px;
    font-size: 12px;
    color: #cbd5e1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .container {
        padding: 40px 60px;
    }
    .footer {
        left: 60px;
    }
}

@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }
    .info-section {
        max-width: 100%;
        margin-bottom: 40px;
    }
    .login-section {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 30px;
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .vertical-divider {
        display: none;
    }
    .footer {
        left: 30px;
        bottom: 20px;
    }
    .logo-text-main h1 {
        font-size: 40px;
    }
    .poss-text-wrapper h1 {
        font-size: 40px;
    }
}
