.register-page * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.register-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #e0f7fa, #fff);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.register-page .container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.register-page h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #008080;
    font-size: 26px;
}

.register-page form {
    display: flex;
    flex-direction: column;
}

.register-page .form-groups {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 12px;
    background-color: #f9f9f9;
    transition: border 0.3s ease;
}

.register-page .form-groups:focus-within {
    border-color: #008080;
}

.register-page .form-groups i {
    margin-right: 10px;
    color: #666;
    font-size: 16px;
}

.register-page input,
.register-page select {
    border: none;
    outline: none;
    font-size: 15px;
    flex: 1;
    background-color: transparent;
    color: #333;
}

.register-page input::placeholder,
.register-page select {
    color: #aaa;
}

.register-page button {
    background-color: #008080;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.register-page button:hover {
    background-color: #006666;
}

.register-page button i {
    margin-right: 6px;
}

.register-page .login-links {
    text-align: center;
    margin-top: 20px;
}

.register-page .login-links a {
    color: #008080;
    text-decoration: none;
    font-weight: bold;
    margin-left: 6px;
}

.register-page .login-links a:hover {
    text-decoration: underline;
}

.register-page .error-message {
    background-color: #f8d7da;
    color: #a94442;
    border-left: 5px solid #a94442;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
}

.register-page .success-message {
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #155724;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
}

/* Responsive */
@media screen and (max-width: 480px) {
    .register-page .container {
        padding: 20px;
    }

    .register-page h2 {
        font-size: 22px;
    }

    .register-page input,
    .register-page select {
        font-size: 14px;
    }

    .register-page button {
        font-size: 15px;
    }
}
