body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #BF9264;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Figuras geométricas en el fondo */
body::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 10%;
    left: 15%;
    z-index: 0;
}

body::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
    top: 70%;
    right: 20%;
    z-index: 0;
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.form-container:hover {
    border-color: #5E686D;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #fff;
}

.form-container label {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #fff;
}

.form-container input[type="text"],
.form-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #333;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-container input[type="text"]:focus,
.form-container input[type="password"]:focus {
    border-color: #00ffcc;
    outline: none;
}

.form-container button {
    width: 100%;
    padding: 10px;
    background: #BBD8A3;
    border: none;
    border-radius: 5px;
    color: #1a1a1a;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}


.form-container p {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #fff;
}

.form-container p a {
    color: #00ffcc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-container p a:hover {
    color: #00e6b8;
}

/* Media Queries */
@media (max-width: 768px) {
    body {
        padding: 10px;
        align-items: flex-start;
    }

    .form-container {
        padding: 20px;
        max-width: 50%;
        margin-top: 20px;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }

    .form-container input[type="text"],
    .form-container input[type="password"] {
        padding: 8px;
        font-size: 0.9rem;
    }

    .form-container button {
        padding: 8px;
        font-size: 0.9rem;
    }

    .form-container p {
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .form-container {
        max-width: 300px;
    }
}
