/* styles.css */

/* Reset and base styles */
/* Reset defaults */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; font-family: 'Arial', sans-serif; }

.container {
    display: flex;
    height: 100vh;
}

/* Left panel */
.left, .right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.left {
    background-color: #000;
}
.left img {
    max-width: 60%;
    height: auto;
}

/* Right panel */
.right {
    background-color: #fff;
    flex-direction: column;
    padding: 20px;
}
.icon {
    max-width: 80px;
    margin-bottom: 20px;
}
h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #333;
}
form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}
input {
    background: transparent;
    border: none;
    border-bottom: 2px solid #000000;
    padding: 10px 5px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #000;
    outline: none;
}
input::placeholder {
    color: #888;
}
button {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}
button:hover {
    background: #2c2c2c;
}

.hidden {
    display: none !important;
}

/* when visible, success is a flex column */
#success-message {
    display: flex;               /* default flex */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#success-message .checkmark {
    font-size: 4rem;
    color: #0f0;
}
#success-message p {
    margin-top: 1rem;
    font-size: 1.25rem;
    color: #333;
}

/* Mobile behavior */
@media (max-width: 768px) {
    .container { flex-direction: column; }
    .left { display: none; }
    .right { flex: none; height: 100vh; }
}

