.page-login {
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding for the first section */
}

.page-login__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Ensure image is above text */
    align-items: center;
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for hero image */
}

.page-login__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 800px;
    margin-top: 20px;
}

.page-login__main-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem); /* Use clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFB04D; /* Glow for main title */
}

.page-login__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.page-login__form-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-login__login-box {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-login__form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #FFF3E6; /* Text Main */
}

.page-login__input-group {
    margin-bottom: 20px;
}

.page-login__label {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #FFF3E6; /* Text Main */
    opacity: 0.8;
}

.page-login__input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #A84F0C; /* Border */
    border-radius: 5px;
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page-login__input::placeholder {
    color: rgba(255, 243, 230, 0.5); /* Text Main with opacity */
}

.page-login__input:focus {
    border-color: #FFB04D; /* Glow */
    outline: none;
}

.page-login__options {
    text-align: right;
    margin-bottom: 25px;
}

.page-login__link {
    color: #FFA53A; /* Auxiliary color */
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.page-login__link:hover {
    color: #FFB04D; /* Glow */
}

.page-login__button {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    color: #FFF3E6; /* Text Main */
}

.page-login__button--primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
}

.page-login__button--primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-login__register-prompt {
    text-align: center;
    margin-top: 30px;
    font-size: 1rem;
    color: #FFF3E6; /* Text Main */
    opacity: 0.8;
}

.page-login__link--register {
    font-weight: 600;
}

.page-login__security-section {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    background-color: #0D0E12; /* Background */
    box-sizing: border-box;
}

.page-login__section-title {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: #FFB04D; /* Glow */
}

.page-login__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-login__security-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-login__security-item:hover {
    transform: translateY(-5px);
}

.page-login__security-icon {
    width: 100%;
    max-width: 250px; /* Ensure images are not too wide */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Min size for content images */
    min-height: 150px; /* Min size for content images */
}

.page-login__security-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFA53A; /* Auxiliary color */
}

.page-login__security-item-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-login__hero-content {
        padding: 15px;
    }

    .page-login__main-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .page-login__hero-description {
        font-size: 1rem;
    }

    .page-login__login-box {
        padding: 30px 20px;
    }

    .page-login__form-title {
        font-size: 1.7rem;
    }

    .page-login__input,
    .page-login__button {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .page-login__security-section {
        padding: 40px 15px;
    }

    .page-login__section-title {
        font-size: clamp(1.3rem, 4vw, 2rem);
    }

    .page-login__security-grid {
        grid-template-columns: 1fr;
    }
    
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure content images meet minimum size requirements */
.page-login__security-icon {
    min-width: 200px;
    min-height: 150px;
}