/* ---------- CONTENEDOR PRINCIPAL ---------- */
.don-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 40px 20px;
    background-color: #f2f2f2;
}

/* ---------- FORMULARIO ---------- */
.don-form-container {
    background: white;
    padding: 20px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
}

.don-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6, #8b5cf6, #ec4899, #ef4444);
    border-radius: 20px 20px 0 0;
}

.don-form-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #1e3a8a;
}

/* ---------- GRUPOS DE CAMPOS ---------- */
.don-form-group {
    margin-bottom: 25px;
    position: relative;
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.don-form-label {
    display: block;
    color: #080808;
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 14px;
}

.don-form-input,
.don-form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.don-form-input:focus,
.don-form-select:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.don-form-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.don-form-group::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.don-form-group:focus-within::before {
    width: 100%;
}

/* ---------- BOTÓN ---------- */
.don-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.don-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.don-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.don-submit-btn:hover::before {
    left: 100%;
}

/* ---------- ANIMACIÓN ---------- */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 480px) {
    .don-form-container {
        padding: 25px;
        margin: 10px;
    }

    .don-form-container h1 {
        font-size: 24px;
    }
}