* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 400px;
}

.form-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.button-box {
    width: 250px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 20px 3px #2a5298;
    border-radius: 30px;
    transition: 0.5s;
}

.button-box div {
    width: 125px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.5s;
}

#btn-login { background: linear-gradient(45deg, #1e3c72, #2a5298); color: white; }
#btn-register { background: transparent; color: #1e3c72; }

.input-group {
    display: block;
    margin-top: 30px;
}

.input-field {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: #2a5298;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}
/* Agregar al final del CSS anterior */
.alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}
.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
