:root {
    --agrocampo-green-dark: #3F6212;
    --agrocampo-green-light: #6B8E23;
    --agrocampo-orange: #EE6E0B;
    --agrocampo-text-dark: #1F2937;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background-color: #F9FAFB;
    color: #374151;
}

.body-layout-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
    position: relative;
}

.main-card-wrapper {
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    max-width: 50%;
    width: 100%;
    position: relative;
    z-index: 10;
    transform: var(--ConVetColombia-transform-translate, 0, 0) var(--ConVetColombia-transform-rotate, 0) var(--ConVetColombia-transform-scale, 1, 1);
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 500ms;
}

.header-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .header-section {
        margin-bottom: 2rem;
    }
}

.logo-img {
    margin-left: auto;
    margin-right: auto;
    height: 6rem;
    margin-bottom: 1.5rem;
    animation: ConVetColombia-pulse-slight 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .logo-img {
        height: 8rem;
    }
}

.main-title {
    font-size: 2rem;
    line-height: 2.25rem;
    font-weight: 800;
    color: var(--agrocampo-orange);
    margin-bottom: 1rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .main-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.description-paragraph {
    font-size: 0.95rem;
    line-height: 1.5rem;
    color: #4B5563;
    line-height: 1.625;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;

}

@media (min-width: 768px) {
    .description-paragraph {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}

.form-section {
    margin-top: 1.5rem;
}

.form-field {
    margin-top: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.form-input-field {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: 14px;
    line-height: 1.5rem;
    color: #1F2937;
    transition: all 0.2s ease-in-out;
    background-color: #ffffff;
}

.form-input-field::placeholder {
    color: #9CA3AF;
    opacity: 1;
}

.form-input-field:hover {
    border-color: #A1A1AA;
}

.form-input-field:focus {
    outline: none;
    border-color: var(--agrocampo-green-light);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.25);
    transform: scale(1.005);
}

.submit-button {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--agrocampo-green-dark);
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    cursor: pointer;
}

.submit-button:hover {
    background-color: var(--agrocampo-green-light);
    transform: translateY(-0.25rem);
}

.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    z-index: 1;
    overflow: hidden;
}

.wave-base {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    transform-origin: bottom center;
}

.wave-bg {
    height: 100%;
    background: linear-gradient(90deg, #479320 0%, rgba(71, 147, 32, 0.7) 50%, #479320 100%);
    animation: uglyWaveMove 18s linear infinite;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    opacity: 0.15;
}

.wave-md {
    height: 90%;
    background: linear-gradient(90deg, #479249 0%, rgba(71, 146, 73, 0.6) 50%, #479249 100%);
    animation: uglyWaveMove 14s linear infinite reverse;
    border-radius: 50% 50% 0 0 / 80% 80% 0 0;
    opacity: 0.2;
}

.wave-front {
    height: 80%;
    background: linear-gradient(90deg, var(--agrocampo-green-light) 0%, #FF0000 40%, var(--agrocampo-orange) 80%, var(--agrocampo-orange) 100%);
    animation: uglyWaveMove 10s linear infinite;
    border-radius: 50% 50% 0 0 / 60% 60% 0 0;
    opacity: 0.25;
}

@keyframes uglyWaveMove {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    20% {
        transform: translate3d(-25%, 5%, 0);
    }

    40% {
        transform: translate3d(-50%, -2%, 0);
    }

    60% {
        transform: translate3d(-30%, 3%, 0);
    }

    80% {
        transform: translate3d(-45%, -1%, 0);
    }
}

@keyframes ConVetColombia-pulse-slight {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.botones-info {
    display: grid;
    justify-content: center;
    gap: 24px;
    margin: 144px 0;
}

.boton-bt-info {
    padding: 14px 32px;
    border: 2px solid;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 200px;
}

.boton-productos {
    background-color: #ffffff;
    border-color: #2E7D32;
    color: #2E7D32;
}

.boton-ofertas {
    background-color: #2E7D32;
    border-color: #2E7D32;
    color: #ffffff;
}

.boton-bt-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.boton-bt-info:hover::after {
    transform: translateX(0);
}

.boton-bt-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.boton-bt-info:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.boton-productos:hover {
    background-color: #f5f9f5;
}

.boton-ofertas:hover {
    background-color: #1B5E20;
    border-color: #1B5E20;
}

@media (max-width: 768px) {
    .main-card-wrapper {
        max-width: 90%;
    }

    .training-table th,
    .training-table td {
        padding: 0px 4px 10px 0px !important;
        font-size: 14px;
    }

    .botones-info {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .boton-bt-info {
        width: 85%;
        max-width: 280px;
    }

    .form-input-field {
        font-size: 11px;
    }

    .form-input-field {
        padding: 6px;
    }

    .signature-box p{
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .boton-bt-info {
        width: 90%;
        padding: 12px 24px;
        font-size: 14px;
    }
}

.error-field {
    border-color: #ff3860 !important;
    box-shadow: 0 0 0 0.125em rgba(255, 56, 96, 0.25) !important;
}

.floating-buttons-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.back-floating-btn,
.logout-floating-btn {
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: auto;
}

.back-floating-btn {
    background: #2e7d32;
}

.logout-floating-btn {
    background: #ff0000;
}

.back-floating-btn:hover {
    background: #4a6572;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.logout-floating-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-floating-btn:active,
.logout-floating-btn:active {
    transform: translateY(0);
}

.evaluation-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.evaluation-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--agrocampo-green-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--agrocampo-orange);
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.info-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .info-group {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

.consent-box {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.consent-checkbox {
    margin-top: 0.25rem;
}

.consent-label {
    font-weight: 600;
    color: var(--agrocampo-text-dark);
    text-align: justify;
}

.rating-section {
    margin-bottom: 2rem;
}

.rating-question {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.rating-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--agrocampo-text-dark);
}

.rating-scale {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.rating-options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.rating-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.rating-number {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--agrocampo-green-dark);
}

.rating-text {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
}

.rating-inputs {
    display: flex;
    justify-content: space-between;
}

.rating-input {
    display: none;
}

.rating-label-input {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #6b7280;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-input:checked+.rating-label-input {
    background-color: var(--agrocampo-green-light);
    color: white;
    transform: scale(1.1);
}

.yes-no-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.yes-no-option {
    flex: 1;
}

.yes-no-input {
    display: none;
}

.yes-no-label {
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f9fafb;
}

.yes-no-input:checked+.yes-no-label {
    background-color: var(--agrocampo-green-light);
    color: white;
    border-color: var(--agrocampo-green-light);
}

.training-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.training-table th,
.training-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.training-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: var(--agrocampo-text-dark);
}

.table-checkbox {
    text-align: center;
}

.signature-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.signature-box {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.signature-box p {
    font-weight: 600;
    color: var(--agrocampo-text-dark);
    text-align: justify;
}

.signature-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--agrocampo-text-dark);
}

.signature-input {
    width: 96%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.file-upload {
    margin-top: 0.5rem;
}

.file-input {
    width: 97%;
    padding: 0.5rem;
    border: 1px dashed #d1d5db;
    border-radius: 0.5rem;
    background-color: #f9fafb;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-action-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn {
    background-color: var(--agrocampo-green-dark);
    color: white;
}

.submit-btn:hover {
    background-color: var(--agrocampo-green-light);
    transform: translateY(-2px);
}

.new-btn {
    background-color: #f3f4f6;
    color: var(--agrocampo-text-dark);
    border-color: #d1d5db;
}

.new-btn:hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
}

.floating-buttons-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.back-floating-btn,
.logout-floating-btn {
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: auto;
}

.back-floating-btn {
    background: #2e7d32;
}

.logout-floating-btn {
    background: #ff0000;
}

.back-floating-btn:hover {
    background: #4a6572;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.logout-floating-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.signature-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--agrocampo-text-dark);
    gap: 4px;
}

.file-upload-container {
    margin-top: 0.5rem;
}

.file-upload-area {
    position: relative;
    padding: 2rem 1rem;
    border: 2px dashed #d1d5db;
    border-radius: 0.75rem;
    background-color: #f9fafb;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.file-upload-area:hover {
    border-color: var(--agrocampo-green-light);
    background-color: #f0f7f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.file-upload-area.dragover {
    border-color: var(--agrocampo-green-dark);
    background-color: #e8f5e8;
}

.upload-icon {
    color: var(--agrocampo-green-light);
    margin-bottom: 0.5rem;
}

.upload-title {
    font-weight: 600;
    color: var(--agrocampo-text-dark);
    margin: 0;
    font-size: 1rem;
}

.upload-subtitle {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-preview {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease;
}

.preview-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.preview-icon {
    color: var(--agrocampo-green-light);
    flex-shrink: 0;
}

.preview-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.file-name {
    font-weight: 600;
    color: var(--agrocampo-text-dark);
    font-size: 0.95rem;
}

.file-size {
    color: #6b7280;
    font-size: 0.8rem;
}

.remove-file-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.remove-file-btn:hover {
    background-color: #fee2e2;
    color: #dc2626;
    transform: scale(1.05);
}

.upload-feedback {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    display: none;
}

.upload-feedback.success {
    display: block;
    background-color: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.upload-feedback.error {
    display: block;
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .file-upload-area {
        padding: 1.5rem 1rem;
    }

    .preview-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .remove-file-btn {
        align-self: center;
    }
}

@media (min-width: 350px) {
    .consent-label{
        width: 86%;
        font-size: 12px;
    }
}