/* Base reset and layout */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f4f7;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Heading */
.landing-h1 {
    text-align: center;
    font-size: 32px;
    color: #2d2d2d;
    margin-top: 40px;
}

/* Main container */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* Form wrapper */
.register-wrapper {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Form elements */
.register-container .form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    background-color: #fff;
}

/* Button styling */
.form-actions {
    margin-top: 20px;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Flash messages */
#message-box {
    padding: 12px;
    border-radius: 10px;
    text-align: center;
}

.flash-success {
    background-color: #d4f4d2;
    color: #338d3c;
    border: 1px solid #a8df96;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer-text {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.footer-text a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.footer-text a:hover {
    color: #0056b3;
}

/* Page footer */
footer {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #999;
}
