/* ====== Red-Themed Centered Register Style ====== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Container */
.register-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 40px 30px;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Centered Logo */
.register-container img {
    width: 120px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
}

/* Title */
.register-container h2 {
    color: #d00000;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Input fields */
.register-form input {
    width: 100%;
    padding: 12px 14px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.register-form input:focus {
    outline: none;
    border-color: #d00000;
    box-shadow: 0 0 4px rgba(208, 0, 0, 0.3);
}

/* Terms checkbox */
.form-group.terms {
    display: flex;
    align-items: center;
    text-align: left;
    width: 100%;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

.form-group.terms input {
    width: auto;
    margin-right: 8px;
}

.form-group.terms a {
    color: #d00000;
    text-decoration: none;
    font-weight: 500;
}

.form-group.terms a:hover {
    color: #a00000;
}

/* Button */
.register-form button {
    width: 100%;
    padding: 12px;
    background-color: #d00000;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.register-form button:hover {
    background-color: #a00000;
}

/* Links */
.login-link {
    color: #d00000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #a00000;
}

/* Eye icon */
#togglePassword {
    color: #888;
    transition: color 0.3s ease;
}

#togglePassword:hover {
    color: #d00000;
}

/* Message box */
.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
}

.message.error {
    background-color: #ffe6e6;
    color: #b30000;
    border: 1px solid #d00000;
}

.message.success {
    background-color: #e6ffe6;
    color: #008000;
    border: 1px solid #00a000;
}

/* Responsive */
@media (max-width: 768px) {
    .register-container {
        padding: 30px 20px;
        width: 90%;
    }

    .register-container img {
        width: 100px;
    }

    .register-form input {
        font-size: 14px;
    }

    .register-form button {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .register-container {
        padding: 30px 20px;
        width: 90%;
    }

    .register-container img {
        width: 100px;
    }

    .register-form input {
        font-size: 14px;
    }

    .register-form button {
        font-size: 15px;
    }
}
