body {
    background-image: url('112.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}

.register-container {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 400px;
    max-height: 90vh;
    overflow-y: auto;
}

input {
    margin: 8px auto !important;
}

input[type="text"], 
input[type="email"], 
input[type="password"] {
    width: 80%;
    padding: 12px;
    margin: 8px auto;
    border: none;
    border-radius: 5px;
    display: block;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

button {
    background-color: #007BFF;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 40%;
    margin-top: 15px;
    font-weight: bold;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.footer {
    margin-top: 20px;
    font-size: 14px;
}

.footer a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}

.error-message {
    color: #ff6b6b;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

.success-message {
    color: #51cf66;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

select {
    width: 85%;
    padding: 12px;
    margin: 8px auto;
    border: none;
    border-radius: 5px;
    display: block;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

/* Responsive design */
@media (max-width: 500px) {
    .register-container {
        width: 90%;
        padding: 20px;
    }
    
    input[type="text"], 
    input[type="email"], 
    input[type="password"] {
        width: 90%;
    }
    
    button {
        width: 50%;
    }
}