/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Arial', sans-serif;
    background: #f0f4f8;
    color: #333;
}

/* Header */
header {
    background: #ff7f50;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header h1 { font-size: 1.8rem; }
nav a { color: #fff; margin-left: 15px; text-decoration: none; }

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
}

/* Register Page */
.register-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px); /* approx header/footer height */
    padding: 20px;
}

/* Register Box */
.register-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.register-box h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #ff7f50;
}

/* Form Inputs */
.register-box input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

/* Button */
.register-box button {
    width: 100%;
    padding: 16px;
    background: #ff7f50;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.register-box button:hover {
    background: #e67347;
}

/* Messages */
.message {
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.text-success { color: green; }
.text-error { color: #e74c3c; }

/* Center links */
.text-center { text-align: center; }

/* -----------------------
   Mobile Adjustments
----------------------- */
@media (max-width: 768px) {
    .register-box {
        min-height: 80vh; /* BIG BOX on mobile */
        padding: 25px;
    }
    .register-box input, .register-box button {
        font-size: 1.1rem;
        padding: 16px;
    }
}





