/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Author: Mujahid
Author URI: https://techsolagency.com/
Description: Child theme for Astra
Template: astra
Version: 1.0.0
*/

@import url("../astra/style.css");



/* Hide header + footer only on login page */
body.page-id-2442 header,
body.page-id-2442 footer {
    display: none !important;
}

body.page-id-2442 {
    overflow-x: hidden !important;
}

/* Layout update */
.rasas-login-layout {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 100vh;
    width: 100%;
    margin: 0;
}

/* LEFT */
.rasas-login-left {
    padding: 50px 80px;
    background: #ffffff;
}

/* RIGHT */
.rasas-login-right {
    background: linear-gradient(90deg, rgba(8,56,47,0.95), rgba(8,56,47,0.85)),
    url('https://cateringekspress.no/wp-content/uploads/2025/10/24597e8683d0a05c93933ec3dda1abff171c9c6a-1.webp');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

/* Input icons */
.input-group {
    position: relative;
    margin-bottom: 16px;
}

.input-group input {
    width: 100%;
    height: 52px;
    border-radius: 20px !important;
    border: 1px solid #ccd4cf;
    padding: 12px 48px;
    font-size: 15px;
    background: #fff;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
}

.mail-icon {
    background-image: url('https://cateringekspress.no/wp-content/uploads/2025/10/mail.png');
}

.lock-icon {
    background-image: url('https://cateringekspress.no/wp-content/uploads/2025/10/lock.png');
}

/* Buttons */
.btn-primary {
    width: 100%;
    height: 52px;
    background: #B6926D;
    color: #fff;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 20px;
}

/* Google */
.google-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 52px;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #ccd4cf;
    color: #000;
}
.google-btn img {
    width: 22px;
    height: 22px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}
.divider::before, 
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

/* Hero text */
.rasas-login-right h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    max-width: 450px;
}
.rasas-login-right h1 span {
    color: #d3a57b;
}

/* Mobile */
@media (max-width: 900px) {
    .rasas-login-layout {
        grid-template-columns: 1fr;
    }
    .rasas-login-right {
        display: none;
    }
}



/* ✅ Ensure icon container is positioned correctly */
.rasas-login-form .input-group {
    position: relative !important;
}

/* ✅ Mail Icon */
.rasas-login-form .mail-icon {
    background-image: url('https://cateringekspress.no/wp-content/uploads/2025/10/mail-1.svg') !important;
    width: 20px; 
    height: 20px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
}

/* ✅ Lock Icon */
.rasas-login-form .lock-icon {
    background-image: url('https://cateringekspress.no/wp-content/uploads/2025/10/lock.svg') !important;
    width: 20px; 
    height: 20px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
}

/* ✅ Input alignment */
.rasas-login-form input[type="text"],
.rasas-login-form input[type="email"],
.rasas-login-form input[type="password"] {
    padding-left: 48px !important;
    background-color: #FFFFFF !important;
    border-radius: 5px;
}




.rasas-register-form {
    width: 100%;
    max-width: 420px;
}
.rasas-register-form h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 6px;
}
.rasas-register-form .reg-sub {
    color: #7a7a7a;
    margin-bottom: 20px;
}
.rasas-register-form .input-group input {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #ccd4cf;
    padding: 12px 14px;
    font-size: 15px;
}
.rasas-register-form .checkbox-group {
    margin: 14px 0;
}
.reg-btn {
    width: 100%;
    height: 50px;
    background: #B09578;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
}
.reg-footer-text {
    margin-top: 10px;
    font-size: 14px;
}
.rasas-register-form a {
    color: #0F2B23;
    font-weight: 600;
}


