/* static/style.css */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #333; /* Default text color for light side */
}

.split-container {
    display: flex;
    min-height: 100vh; /* Fill viewport height */
}

.info-panel {
    flex: 1; /* Take up half the space */
    background-color: #2c3e50; /* Soft dark blue/grey */
    color: #ecf0f1; /* Light text color */
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-panel h2 {
    color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db; /* Accent color */
    padding-bottom: 10px;
    display: inline-block; /* Make border only width of text */
}

.info-panel p {
    color: #bdc3c7; /* Lighter grey text */
    font-size: 1.05em;
    margin-bottom: 15px;
}

.form-panel {
    flex: 1; /* Take up the other half */
    background-color: #f8f9fa; /* Light background for contrast */
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-box {
    max-width: 400px;
    width: 100%;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.form-box h1 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.7em;
}

.form-box p {
    margin-bottom: 18px;
    color: #495057;
}

.email-confirm {
    font-weight: 600;
    color: #1abc9c; /* Teal accent */
    word-break: break-all;
}

.phone-info {
    font-size: 0.9em;
    color: #6c757d;
}

.form-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    text-align: left;
    color: #495057;
}

.form-box input[type="password"] {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1.1em;
    text-align: center;
    letter-spacing: 3px;
}

.form-box button {
    background-color: #3498db; /* Primary blue */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.1s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.form-box button:hover {
    background-color: #2980b9;
}
 .form-box button:active {
    transform: translateY(1px);
 }


.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: 5px;
    margin-top: 20px;
    margin-bottom: 20px; /* Added margin below */
    text-align: left;
}

.footer-note {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 30px;
}

/* Responsive: Stack columns on smaller screens */
@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }
    .info-panel, .form-panel {
        padding: 30px 20px; /* Adjust padding */
        min-height: auto; /* Allow height to adjust */
    }
    .form-panel {
        order: -1; /* Show form panel first on mobile */
        align-items: flex-start; /* Align box to top */
        padding-top: 40px;
    }
     .form-box {
        padding: 30px;
     }
}