/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Responsive container with shadow */
.container {
    max-width: 500px;
    width: 100%;
    margin: 20px;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Title styling */
h1 {
    text-align: center;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 25px;
}

/* Centered messages with red text */
p {
    text-align: center;
    color: #dc3545; /* Color rojo más estandarizado */
    margin: 15px 0;
    font-size: 1em;
}

/* Form styling with spacing between elements */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Input and select fields with hover and focus effects */
input, select {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    border-color: #5cb85c;
    outline: none;
}

/* Enhanced button styling with transition effects */
button {
    padding: 12px;
    font-size: 1em;
    background-color: #5cb85c;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

button:hover {
    background-color: #4cae4c;
    transform: translateY(-2px);
}

button:active {
    transform: scale(0.98);
}

/* Tabs with better spacing and hover effects */
.tabs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.tabs button {
    flex: 1;
    padding: 10px;
    font-size: 1em;
    background-color: #5cb85c;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.tabs button:hover {
    background-color: #4cae4c;
    transform: translateY(-2px);
}

.tabs button:active {
    transform: scale(0.98);
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .container {
        padding: 15px;
        max-width: 100%;
    }

    h1 {
        font-size: 1.6em;
    }

    input, select, button {
        font-size: 1em;
        padding: 10px;
    }

    p {
        font-size: 0.9em;
    }
}

