body {
    font-family: Arial, sans-serif;
    background: url('ferrari-background-login.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Slight dark overlay */
    z-index: 0; /* Ensures it's behind the content */
}

.register-container {
    background-color: rgba(255, 40, 0, 0.9); /* Ferrari Red with slight transparency */
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    width: 350px;
    text-align: center; /* Center content */
    position: relative;
    z-index: 1; /* Ensures the form stays above the background overlay */
}

.register-form h2 {
    text-align: center;
    color: white;
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

.input-group input {
    width: calc(100% - 30px); /* Adjust width to account for padding */
    padding: 0.75rem 0.75rem 0.75rem 45px; /* Padding for icon space */
    border: none;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.8); /* White with 80% opacity */
    font-size: 1rem;
    outline: none;
    box-sizing: border-box; /* Ensure the padding doesn't overflow */
}

.input-group input:focus {
    box-shadow: 0 0 5px rgba(255, 40, 0, 0.8); /* Red glow on focus */
}

.register-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: white;
    color: #ff2800; /* Ferrari Red text */
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    box-sizing: border-box; /* Ensure padding doesn't overflow */
}

.register-btn:hover {
    background-color: #ff2800;
    color: white;
}


.signup-text {
    margin-top: 1.5rem;
    color: white;
    font-size: 0.9rem;
    text-align: center;
}

.signup-btn {
    display: inline-block;
    color: white;
    background-color: transparent;
    border: 2px solid white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 1rem;
    margin-top: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.signup-btn:hover {
    background-color: white;
    color: #ff2800; /* Ferrari Red text */
}

