* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Formas geométricas de fundo */
body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 120%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(45deg);
    z-index: 0;
}

body::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(-30deg);
    z-index: 0;
}

.login-container {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.login-title {
    text-align: center;
    color: #000;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
    transition: border-color 0.3s;
    position: relative;
}

.input-group:focus-within {
    border-bottom-color: #667eea;
}

.input-icon {
    font-size: 18px;
    color: #999;
    margin-right: 12px;
    width: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #333;
    font-size: 15px;
    padding: 8px 0;
    font-style: italic;
}

.input-group input::placeholder {
    color: #999;
    font-style: italic;
}

.input-group input:focus {
    font-style: normal;
}

.form-options {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: -10px;
}

.forgot-password {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    font-weight: 400;
}

.forgot-password:hover {
    color: #667eea;
    text-decoration: underline;
}

.login-button {
    background: linear-gradient(90deg, #00d4ff 0%, #f093fb 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.login-button:active {
    transform: translateY(0);
}

.error-message {
    background: #dc3545;
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
}
