/* General Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    width: 900px; /* Adjust as needed */
    height: 600px; /* Adjust as needed */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

/* --- Welcome Panel (Left) --- */

.welcome-panel {
    flex: 1; /* Takes up 50% of the space */
    background: #007bff; /* Base blue for the panel */
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* Simplified background shape approximation */
    position: relative;
    overflow: hidden;
}

.welcome-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200%;
    height: 150%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
    /* Adjust for a less pronounced diagonal cut, using a complex shape is hard to replicate with just one pseudo-element */
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.welcome-panel h1 {
    font-size: 3.5em;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative; /* To keep it above the ::before pseudo-element */
}

.welcome-panel p {
    font-size: 0.9em;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
}

.welcome-panel .actions {
    display: flex;
    gap: 15px;
    position: relative;
}

.btn {
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.learn-more {
    background-color: white;
    color: #007bff;
}

.learn-more:hover {
    background-color: #f0f0f0;
}

.watch-demo {
    background-color: transparent;
    color: white;
}

.watch-demo:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.8em;
    font-weight: 300;
    opacity: 0.8;
}

/* --- Login Panel (Right) --- */

.login-panel {
    flex: 1; /* Takes up 50% of the space */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-panel .header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    margin-bottom: 30px;
}

.logo-placeholder {
    width: 30px;
    height: 30px;
    color: #007bff;
}

.logo-text {
    font-size: 1em;
    font-weight: 600;
}

.login-form h2 {
    font-size: 1.8em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.login-form .subtitle {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 15px;
    margin-bottom: 20px;
    /* Use a light purple background to mimic the image's input fields */
    background-color: #f8f6ff; 
}

.input-group .icon {
    font-size: 1.2em;
    margin-right: 10px;
    color: #8a2be2; /* Purple icon color */
}

.input-group input {
    border: none;
    outline: none;
    padding: 10px 0;
    width: 100%;
    background-color: transparent;
}

.options {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: #555;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border: 2px solid #007bff;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
    background-color: white;
}

.remember-me input[type="checkbox"]:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.remember-me input[type="checkbox"]:checked::after {
    content: '✓';
    color: white;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.auth-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.login-btn {
    padding: 10px 30px;
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 25px;
    background: linear-gradient(to right, #00c6ff, #007bff); /* Blue gradient */
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
    cursor: pointer;
    transition: opacity 0.3s;
}

.login-btn:hover {
    opacity: 0.9;
}

.signup-link-text {
    font-weight: 600;
    color: #007bff;
    cursor: pointer;
}

.footer-links p {
    font-size: 0.8em;
    color: #777;
    margin-bottom: 5px;
}

.footer-links a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}
