﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    background: #0f0f17;
    color: white;
    line-height: 1.5;
}

.split-layout {
    display: flex;
    min-height: 100vh;
}

/* Left promotional panel */
.left-panel {
    flex: 1;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
}

.phone-mockup {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

    .phone-mockup img {
        width: 100%;
        height: auto;
        border-radius: 1.5rem;
        box-shadow: 0 20px 60px rgba(0,0,0,0.65);
    }

/* Right login panel */
.right-panel {
    flex: 1;
    background: white;
    color: #111827;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.form-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.logo-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.logo img {
    height: 40px; /* Adjust size as needed */
    width: auto;
}

h2 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563;
}

.input-wrapper {
    position: relative;
}

input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.1rem;
    font-size: 1.05rem;
    border: 1px solid #d1d5db;
    border-radius: 0.6rem;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    input:focus {
        outline: none;
        border-color: #EC6602;
        box-shadow: 0 0 0 3px rgba(236, 102, 2, 0.15);
    }

.eye-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
    background: transparent;
    border: none;
    padding: 0;
}

    .eye-icon:hover {
        color: #374151;
    }

.forgot {
    display: block;
    text-align: right;
    color: #EC6602;
    font-size: 0.94rem;
    text-decoration: none;
    margin: -0.3rem 0 1.6rem;
}

.btn-signin {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(90deg, #EC6602, #D94F00); /* Orange gradient */
    border: none;
    border-radius: 3rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 5px 15px rgba(236, 102, 2, 0.3);
}

    .btn-signin:hover,
    .btn-signin:focus {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(236, 102, 2, 0.4);
    }

.footer {
    margin-top: 3rem;
    font-size: 0.84rem;
    color: #6b7280;
    text-align: center;
}

    .footer a {
        color: #4b5563;
        text-decoration: none;
        margin: 0 0.9rem;
    }

        .footer a:hover {
            text-decoration: underline;
        }

/* Responsive */
@media (min-width: 1025px) {
    .left-panel {
        padding: 5rem 3rem;
    }

    .right-panel {
        padding: 3rem 4rem 3rem 3rem;
    }

    .phone-mockup {
        max-width: 360px;
    }
}

@media (max-width: 1024px) {
    .split-layout {
        flex-direction: column;
    }

    .left-panel {
        padding: 4rem 2rem 5rem;
    }

    .right-panel {
        padding: 3rem 2.5rem;
    }

    .phone-mockup {
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .left-panel {
        padding: 3.5rem 1.5rem 4.5rem;
    }

    .phone-mockup {
        max-width: 260px;
    }

    .right-panel {
        padding: 2.5rem 1.5rem;
    }

    .form-wrapper {
        max-width: 100%;
    }

    h2 {
        text-align: center;
    }
}

@media (max-width: 380px) {
    .logo-area {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
