* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.content {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.question-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #667eea;
    position: relative;
}

/* Estilo para el contenido de la pregunta */
.question-content {
    flex: 1;
    padding-right: 20px;
}

/* Estilo para el botón de eliminar */
.btn-eliminar {
    margin-top: 15px;  /* Esto baja el botón */
    display: inline-block;
}

/* Si el botón está dentro de un div con flex, usa esto */
.question-card .btn-eliminar-container {
    margin-top: 20px;
    text-align: right;
}

/* Alternativa: si quieres que el botón esté en la parte inferior */
.question-card {
    display: flex;
    flex-direction: column;
}

.question-card .btn-eliminar-wrapper {
    margin-top: auto;
    padding-top: 15px;
}

.options {
    margin-top: 15px;
}

.option {
    margin: 10px 0;
    padding: 10px;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.option:hover {
    background: #e3f2fd;
}

.timer {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background: #667eea;
    color: white;
}

tr:hover {
    background: #f5f5f5;
}

/* nuevos estilos */
/* Modal de advertencia moderno */
.modal-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 3000;
    animation: fadeIn 0.3s ease;
}

.modal-warning.active {
    display: flex;
}

.modal-warning-content {
    background: white;
    border-radius: 25px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.modal-warning-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 25px;
    text-align: center;
}

.modal-warning-header .icon {
    font-size: 60px;
    margin-bottom: 10px;
}

.modal-warning-header h3 {
    margin: 0;
    font-size: 24px;
}

.modal-warning-body {
    padding: 30px;
}

.modal-warning-body p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-warning-body .preguntas-faltantes {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0;
}

.modal-warning-footer {
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
}

.btn-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
}