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;
}
.collapsible {
background: #777;
color: #fff;
cursor: pointer;
padding: 19px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 1.1em;
font-weight:300;
letter-spacing:3px;
}
.active, .collapsible:hover {
background: #555;
}
.collapsible:after {
content: '\002B';
color: white;
font-weight: bold;
float: right;
margin-left: 5px;
}
.active:after {
content: "\2212";
}
.content {
padding:3px;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
background-color: #f1f1f1;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    padding: 0px;
    width: 100%;
}
h1 {
    color: #333;
    margin-bottom: 10px;
}
.subtitle {
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.card-number {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}
.card-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}
.card-desc {
    color: #666;
    font-size: 0.85em;
}
.status {
    margin-top: 20px;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 10px;
    font-size: 0.9em;
    color: #2e7d32;
}
.btn-reset {
    background: #ff5722;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 0.9em;
}
.btn-reset:hover {
    background: #e64a19;
}
.btn-back {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    margin-right: 10px;
    font-size: 0.9em;
}
.progress-bar {
    background: #e0e0e0;
    border-radius: 10px;
    height: 10px;
    margin-top: 20px;
    overflow: hidden;
}
.progress-fill {
    background: #667eea;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}
.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.badge-pending {
    background: #ff9800;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 10px;
}
.badge-completed {
    background: #4caf50;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 10px;
}

/* Formulario */
.container-f1 {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}
.header-f1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
}
.header h1 {
    font-size: 1.5em;
    margin-bottom: 5px;
}
.header p {
    opacity: 0.9;
    font-size: 0.9em;
}
.form-section {
    padding: 30px;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}
input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}
.row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.dynamic-list {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    background: #fafafa;
}
.dynamic-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}
.dynamic-item input {
    flex: 1;
}
.btn-add, .btn-remove {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}
.btn-add {
    background: #667eea;
    color: white;
    margin-top: 10px;
}
.btn-remove {
    background: #ff5722;
    color: white;
}
.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}
.btn-prev, .btn-next {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}
.btn-prev {
    background: #6c757d;
    color: white;
}
.btn-next {
    background: #667eea;
    color: white;
}
.btn-prev:hover, .btn-next:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.error {
    color: #ff5722;
    font-size: 12px;
    margin-top: 5px;
}
.success-msg {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}
h3 {
    margin: 20px 0 15px 0;
    color: #333;
    font-size: 1.1em;
}