/* Sección del breadcrumb con fondo de imagen */
.dgr-breadcrumb-section {
    position: relative;
    background: url('../wp-content/uploads/2024/02/control.png') center/cover no-repeat;
    color: #ffffff;
    text-align: left;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-family: 'Poppins', sans-serif;
}

.dgr-breadcrumb-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 25, 49, 0.85);
    z-index: 0;
}

.dgr-breadcrumb-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #ffffff;
}

.dgr-breadcrumb-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
}

.dgr-breadcrumb-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.7em;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #eaeaea;
}

.dgr-breadcrumb-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.dgr-breadcrumb-nav a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.dgr-breadcrumb-nav a:hover {
    color: #0078ff;
    transform: translateY(-2px);
}

.dgr-breadcrumb-nav li {
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    transition: box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.dgr-breadcrumb-nav li:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.dgr-breadcrumb-nav .dgr-breadcrumb-separator {
    background: transparent;
    padding: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin: 0 15px;
}

.dgr-breadcrumb-nav .dgr-current-page {
    background: #ffffff;
    color: #444444;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dgr-breadcrumb-nav .dgr-current-page:hover {
    background: #f9f9f9;
    color: #333333;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Sección del Formulario */
.formulario-mudanzas-section {
    padding: 60px 20px;
    background: #f5f5f5;
    min-height: 500px;
}

.formulario-mudanzas-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Texto Fijo: Encabezado e Instrucciones */
.formulario-mudanzas-texto-fijo {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.texto-fijo-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #D1626D;
}

.texto-fijo-header h2 {
    color: #101931;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px 0;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.texto-fijo-header h3 {
    color: #555;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.texto-fijo-asunto {
    background: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #D1626D;
    border-radius: 4px;
    margin-bottom: 20px;
}

.texto-fijo-asunto p {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.texto-fijo-asunto strong {
    color: #D1626D;
    font-weight: 700;
}

.texto-fijo-asunto em {
    font-style: italic;
    color: #555;
}

.texto-fijo-normativa {
    padding: 15px 20px;
    background: #e8f4f8;
    border-radius: 4px;
    margin-bottom: 20px;
}

.texto-fijo-normativa p {
    color: #333;
    font-size: 15px;
    margin: 0;
    font-weight: 600;
}

.texto-fijo-importante {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    border-radius: 4px;
    align-items: flex-start;
}

.importante-icon {
    flex-shrink: 0;
}

.importante-icon i {
    font-size: 36px;
    color: #856404;
}

.importante-content h4 {
    color: #856404;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    font-family: 'Poppins', sans-serif;
}

.importante-content p {
    color: #856404;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.importante-content strong {
    font-weight: 700;
}

/* Contenedor del formulario */
.formulario-mudanzas-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Título de sección */
.form-section-title {
    color: #D1626D;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #D1626D;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    font-size: 24px;
}

/* Grupos de formulario */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.required {
    color: #dc3545;
    font-weight: 700;
}

/* Campos de entrada */
.form-control {
    width: 100%;
    padding: 12px 15px;
    height: 48px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #D1626D;
    box-shadow: 0 0 0 3px rgba(209, 98, 109, 0.1);
}

.form-control::placeholder {
    color: #999;
}

/* Select */
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Textarea */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
    height: auto;
    padding: 12px 15px;
}

/* Radio buttons y checkboxes */
.form-check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #D1626D;
}

.form-check-label {
    font-size: 15px;
    color: #555;
    cursor: pointer;
    user-select: none;
}

/* File input - Oculto */
.form-control-file-hidden {
    display: none;
}

/* File upload wrapper */
.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
    border-color: #D1626D;
    background: #fff;
}

/* Botón de selección de archivo */
.btn-file-upload {
    background: linear-gradient(135deg, #D1626D 0%, #b14d5a 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(209, 98, 109, 0.3);
    white-space: nowrap;
}

.btn-file-upload:hover {
    background: linear-gradient(135deg, #b14d5a 0%, #8f3d47 100%);
    box-shadow: 0 4px 12px rgba(209, 98, 109, 0.5);
    transform: translateY(-2px);
}

.btn-file-upload i {
    font-size: 14px;
}

/* Nombre del archivo seleccionado */
.file-name-display {
    flex: 1;
    font-size: 14px;
    color: #555;
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Textos de ayuda */
.form-help {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.form-help-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-left: 3px solid #D1626D;
    border-radius: 4px;
}

/* Sección de declaración */
.form-declaracion {
    background: #f8f9fa;
    border: 2px solid #D1626D;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

.declaracion-content h4 {
    color: #D1626D;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

.declaracion-content p {
    color: #333;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.declaracion-content p:last-child {
    margin-bottom: 20px;
}

.declaracion-content a {
    color: #D1626D;
    text-decoration: none;
    word-break: break-word;
}

.declaracion-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.declaracion-check {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #ddd;
    margin-top: 15px;
}

.declaracion-check .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.declaracion-check .form-check-label {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    line-height: 1.6;
}

/* Botones de acción */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.btn-submit,
.btn-reset {
    padding: 15px 35px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit {
    background: linear-gradient(135deg, #D1626D, #a84f59);
    color: white;
    box-shadow: 0 6px 15px rgba(209, 98, 109, 0.4);
    flex: 1;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.5);
}

.btn-reset {
    background: #6c757d;
    color: white;
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}

.btn-reset:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 117, 125, 0.4);
}

/* Responsividad */
@media (max-width: 768px) {
    .dgr-breadcrumb-title {
        font-size: 28px;
    }

    .dgr-breadcrumb-description {
        font-size: 16px;
    }

    .formulario-mudanzas-texto-fijo {
        padding: 20px;
    }

    .texto-fijo-header h2 {
        font-size: 22px;
    }

    .texto-fijo-header h3 {
        font-size: 16px;
    }

    .texto-fijo-asunto,
    .texto-fijo-normativa,
    .texto-fijo-importante {
        padding: 15px;
    }

    .texto-fijo-importante {
        flex-direction: column;
        text-align: center;
    }

    .importante-icon {
        margin: 0 auto 15px;
    }

    .formulario-mudanzas-form {
        padding: 20px;
    }

    .form-section-title {
        font-size: 18px;
        flex-direction: column;
        text-align: center;
    }

    .form-check-group {
        flex-direction: column;
        gap: 10px;
    }

    .file-upload-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn-file-upload {
        width: 100%;
        justify-content: center;
    }

    .file-name-display {
        text-align: center;
        white-space: normal;
        word-break: break-word;
    }

    .form-declaracion {
        padding: 20px;
    }

    .declaracion-content h4 {
        font-size: 16px;
    }

    .declaracion-content p {
        font-size: 13px;
    }

    .declaracion-check {
        padding: 12px;
    }

    .declaracion-check .form-check-label {
        font-size: 14px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
        justify-content: center;
    }

    .dgr-breadcrumb-nav ul {
        flex-wrap: wrap;
    }

    .dgr-breadcrumb-nav li {
        font-size: 13px;
        padding: 8px 15px;
    }
}
