.custom-gradient {
    background: linear-gradient(to right, white 0%, lime 38%, white 100%);
}
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Poppins:wght@400;500;600&display=swap");

/* Font rules based on specifications:
         * Heading1: DM Sans Bold 96px
         * Heading2: DM Sans Bold 64px
         * Heading3: DM Sans Bold 32px
         * Sub Heading: Poppins Regular 24px
         * Body1: Poppins Regular 16px
         * Body2: Poppins Regular 14px
         */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif; /* Default body font */
}

body {
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

.left-panel {
    flex: 1;
    padding: 40px;
    padding-left: 21rem;
    background: linear-gradient(
        to bottom right,
        white 0%,
        rgba(192, 255, 127, 0.8) 38%,
        white 100%
    );
    display: flex;
    flex-direction: column;
    position: relative;
    width: 70%;
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    text-decoration: none;
    color: #555;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 60px;
    width: fit-content;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.back-icon {
    margin-right: 5px;
}

.content {
    max-width: 70%;
}

h1 {
    color: #444;
    font-family: "DM Sans", sans-serif;
    font-size: 96px;
    font-weight: 700; /* Bold */
    margin-bottom: 5px;
    line-height: 1;
}

h2 {
    color: #555;
    font-family: "DM Sans", sans-serif;
    font-size: 64px;
    font-weight: 700; /* Bold */
    margin-bottom: 25px;
    line-height: 1.1;
}

h3 {
    color: #333;
    font-family: "DM Sans", sans-serif;
    font-size: 32px;
    font-weight: 700; /* Bold */
}

.subtitle {
    color: #666;
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 400; /* Regular */
    line-height: 1.4;
    margin-bottom: 30px;
}

.body1 {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400; /* Regular */
}

.body2 {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400; /* Regular */
}

.image-container {
    width: 100%;
    /* max-width: 100; */
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.right-panel {
    width: 40%;
    background-color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form {
    width: 100%;
    padding-left: 7rem;
    padding-right: 7rem;
}

.login-title {
    font-family: "DM Sans", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #777;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
    background-color: #f9f9f9;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
}

input:focus {
    outline: none;
    border-color: #ccc;
}

.forgot-password {
    display: block;
    text-align: right;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #888;
    text-decoration: none;
    margin-top: 8px;
}

.login-button {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 30px;
    background-color: #2d2418;
    color: white;
    border: none;
    border-radius: 6px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-button:hover {
    background-color: #3a2e1e;
}

/* Enhanced Responsive Styles */
/* Large screens and laptops */
@media (max-width: 1440px) {
    .left-panel {
        padding-left: 10rem;
    }

    .login-form {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .content {
        max-width: 85%;
    }
}

/* Standard laptops and medium screens */
@media (max-width: 1200px) {
    .left-panel {
        padding-left: 5rem;
    }

    h1 {
        font-size: 80px;
    }

    h2 {
        font-size: 54px;
    }

    .subtitle {
        font-size: 22px;
    }

    .login-form {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Small laptops and tablets */
@media (max-width: 992px) {
    body {
        flex-direction: column;
        overflow-y: auto;
    }

    .left-panel {
        width: 100%;
        padding: 30px;
        padding-left: 3rem;
        min-height: 50vh;
    }

    .right-panel {
        width: 100%;
        padding: 30px;
    }

    .content {
        max-width: 90%;
    }

    h1 {
        font-size: 72px;
    }

    h2 {
        font-size: 48px;
    }

    .subtitle {
        font-size: 20px;
    }

    .login-form {
        padding-left: 5rem;
        padding-right: 5rem;
        max-width: 700px;
        margin: 0 auto;
    }

    .image-container {
        height: 350px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .left-panel {
        padding: 25px;
        padding-left: 2rem;
    }

    .content {
        max-width: 100%;
    }

    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 40px;
    }

    .subtitle {
        font-size: 18px;
    }

    .login-form {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .image-container {
        height: 300px;
    }

    .back-button {
        margin-bottom: 30px;
    }
}

/* Mobile phones */
@media (max-width: 576px) {
    body {
        display: block;
        background-color: #f2f7d9; /* Light green background */
        overflow-y: auto;
        padding: 0;
        margin: 0;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        background: none;
        padding: 0;
    }

    /* Special header for mobile with back button and title */
    .back-button {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 10;
        margin: 0;
        padding: 5px 10px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
    }

    .back-button span.back-icon {
        margin: 0;
    }

    /* Hide regular text from left panel */
    .left-panel h1,
    .left-panel h2,
    .left-panel p.subtitle {
        display: none;
    }
    .back-button span.back-text {
        display: none;
    }
    /* New mobile header */
    .left-panel::before {
        content: "RECEIVE Forgiveness";
        display: block;
        position: absolute;
        top: 20px;
        left: 70px;
        right: 20px;
        color: #4b6f33;
        font-family: "DM Sans", sans-serif;
        font-size: 18px;
        font-weight: 700;
        z-index: 10;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 7px 15px;
        border-radius: 20px;
    }

    .content {
        max-width: 100%;
        margin-top: 0;
    }

    .image-container {
        height: 220px;
        margin: 0;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 20px;
    }

    .image-container img {
        object-fit: cover;
    }

    /* Login form styling */
    .login-form {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .login-title {
        font-size: 24px;
        margin: 20px 0;
        color: #333;
        text-align: center;
    }

    .form-group {
        width: 100%;
        margin-bottom: 15px;
    }

    label {
        display: none; /* Hide labels */
    }

    input {
        padding: 15px;
        border-radius: 8px;
        border: none;
        background-color: #fff;
        font-size: 16px;
        width: 100%;
        margin-bottom: 15px;
    }

    input::placeholder {
        color: #999;
    }

    .forgot-password {
        display: none; /* Hide forgot password link */
    }

    .login-button {
        width: 100%;
        padding: 15px;
        border-radius: 8px;
        background-color: #2d2418;
        color: white;
        font-size: 16px;
        font-weight: 500;
        margin-top: 15px;
        text-align: center;
    }

    /* Add placeholder text since we're hiding labels */
    #email::placeholder {
        content: "Email";
    }

    #password::placeholder {
        content: "Password";
    }
}

/* Small mobile phones */
@media (max-width: 375px) {
    .image-container {
        height: 250px;
    }

    .login-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }
}
