/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #0f0f0f, #1c1c1c);
    color: #e0e0e0;
}

/* Container styles */
.register-container {
    background-color: #1a1a1a;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgb(0, 13, 255);
    animation: fadeIn 0.8s ease;
    border: 1px solid rgb(0, 13, 255);
}

.register-container h2 {
    text-align: center;
    color: #1e00ff;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0px 0px 8px rgb(0, 13, 255);
}

/* Input group styles */
.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 6px;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="password"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #444;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
    border-color: #1e00ff;
    box-shadow: 0 0 8px rgb(47, 0, 255);
}

/* Button styles */
.register-button {
    width: 100%;
    padding: 12px;
    background-color: #1e00ff;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.register-button:hover {
    background-color: #1e00ff;
    box-shadow: 0 0 10px rgb(0, 0, 255);
}

.register-button:active {
    transform: scale(0.98);
}

/* Login link */
.login-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #888;
}

.login-link a {
    color: #1e00ff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.login-link a:hover {
    color: #1e00ff;
    text-shadow: 0px 0px 6px rgb(0, 17, 255);
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .register-container {
        padding: 20px;
        margin: 0 10px;
    }

    .register-container h2 {
        font-size: 20px;
    }

    .register-button {
        font-size: 14px;
    }

    .login-link {
        font-size: 12px;
    }
}