body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    width: 380px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #00e5ff;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #2c2c2c;
    border: 1px solid #444;
    color: white;
    box-sizing: border-box;
    border-radius: 4px;
}

/* Botón con animación de cápsula hacia la derecha */
.btn-action {
    position: relative;
    width: 100%;
    padding: 12px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    overflow: hidden;
    font-weight: bold;
    border-radius: 4px;
}

.btn-action::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #00e5ff;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    transition: width 0.4s ease-out;
    z-index: 1;
}

.btn-action:hover::before {
    width: 100%;
}

.btn-action span {
    position: relative;
    z-index: 2;
}

.btn-action:hover span {
    color: #000;
}

.error-msg {
    color: #ff3366;
    text-align: center;
    font-size: 0.9em;
    margin-bottom: 15px;
}