@font-face {
    font-family: 'Merriweather';
    src: url('fonts/merriweather-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('fonts/merriweather-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('fonts/merriweather-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

.camino-planner-wrapper-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    min-height: 600px;
    max-width: 1200px;
    margin: 0 auto;

}


.camino-map-section {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border-radius: 4px;
}

.camino-map-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.camino-form-section {
        background-color: #074f7f;
    background-image: url('img/camino-bg-overlay.png');
    background-repeat: repeat;
    color: #fff;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    background-size: 110px 83px;
    border-radius: 4px;
}

.camino-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.camino-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

h2.camino-title {
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #efd990;
    font-size: 42px;
    font-family: 'Merriweather', Georgia, serif;
}

.camino-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.camino-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.camino-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.2em;
    margin-right: 0.35em;
    color: inherit;
}

.camino-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.camino-form-group label {
    color: #f4d77e;
    font-size: 1.2rem;
    font-weight: 600;
   
}

.camino-form-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 19px;
    border: none;
    border-radius: 6px;
    background-color: #f2dd9c;
    color: #074f7f;
    font-weight: 600;
    font-family: 'Merriweather', Georgia, serif;
}

.camino-form-group input[type="text"] {
    padding: 12px 16px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-family: 'Merriweather', Georgia, serif;
}

.camino-form-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    margin-right: 12px;
    background-color: #f2dd9c;
    border: 2px solid #d4bc7a;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.camino-form-group input[type="checkbox"]:hover {
    background-color: #ffeb99;
    border-color: #e6c85c;
    transform: scale(1.05);
}

.camino-form-group input[type="checkbox"]:checked {
    background-color: #f2dd9c;
    border-color: #074f7f;
}

.camino-form-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 7px;
    height: 12px;
    border: solid #074f7f;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.camino-form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.camino-submit {
    background: linear-gradient(135deg,#f7da41,#fadd4c);
    color: #0e5283;
    border: none;
    padding: 16px 32px;
    font-size: 1.7rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    min-width: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.camino-submit svg {
    width: 36px;
    height: 36px;
    opacity: 0.8;
}

.camino-submit:hover {
    background: linear-gradient(135deg,#ffeb99,#fff5b3);
    transform: translateY(-2px);
}

.camino-submit:active {
    transform: translateY(0);
}

.camino-submit:disabled {
    background: #a0a0a0;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.camino-submit:disabled:hover {
    background: #a0a0a0;
    transform: none;
}

.camino-submit:disabled svg {
    opacity: 0.4;
}

.camino-form-group.loading::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 3px solid #f4d77e;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 968px) {
    .camino-planner-wrapper-new {
        grid-template-columns: 1fr;
    }
    
    .camino-map-section {
        min-height: 400px;
    }
    
    .camino-form-section {
        padding: 30px 20px;
    }
    
    h2.camino-title {
        font-size: 32px;
        flex:1;
    }
    .camino-form-group select {
        font-size: 16px;
    }
    .camino-logo {
        width: 60px;
        flex: 0;
        height: 60px;
    }
    .camino-form
    {
        gap: px;
    }
    .camino-submit {
        gap: 10px;
        font-size: 1.4rem;
        padding: 10px 18px;
    }
}
