/* Reset de márgenes y rellenos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fondo y tipografía de la página */
body {
    font-family: 'Poppins', Arial, sans-serif; /* Fuente más moderna */
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    padding-top: 120px;
}

/* Header */
.header-container {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(150deg, #6c3483, #58D68D);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.header-top .auth-buttons a:hover {
    background-color: #1abc9c;
    transform: scale(1.05);
}

/* Formularios */
#crear_curso {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#crear_curso:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

#crear_curso input[type="text"],
#crear_curso input[type="date"],
#crear_curso input[type="url"],
#crear_curso select,
#crear_curso textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

#crear_curso input:focus,
#crear_curso textarea:focus {
    border: 1px solid #6c3483;
    box-shadow: 0 0 5px rgba(108, 52, 131, 0.5);
}

#crear_curso input[type="submit"] {
    background: linear-gradient(45deg, #6c3483, #58D68D);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#crear_curso input[type="submit"]:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #58D68D, #6c3483);
}

/* Tarjetas */
.card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: linear-gradient(45deg, #6c3483, #58D68D);
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 1.5rem;
}

.card-body {
    padding: 20px;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.card:hover .card-body {
    background-color: #f4f4f4;
}

/* Botones */
.button {
    text-decoration: none;
    color: white;
    background: linear-gradient(45deg, #6c3483, #58D68D);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background: linear-gradient(45deg, #58D68D, #6c3483);
    transform: scale(1.1);
}

.button:active {
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
