.dog-feeding-guide-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2%; /* Adjusted gap to account for 60% + 38% + 2% = 100% */
    align-items: stretch;
}

.main-container {
    width: 100%;
    display: flex;
    gap: 2%;
    flex-wrap: wrap;
}

.left-panel, .right-panel {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.left-panel:hover, .right-panel:hover {
    transform: translateY(-5px);
}

.left-panel {
    flex: 0 0 60%;
}

.right-panel {
    flex: 0 0 38%;
}

.dog-sizes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dog-size {
    text-align: center;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    background: #fafafa;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dog-size.active {
    border-color: #6b912d;
    background: linear-gradient(135deg, #f0f7e9, #e6f0da);
    transform: scale(1.05);
}

.dog-size:hover {
    border-color: #6b912d;
    background: #fefefe;
}

.dog-size .icon {
    display: block;
    margin: 0 auto 10px;
    max-width: 40px;
    height: auto;
}

.dog-size .icon.elementor-icon {
    font-size: 2rem;
    color: #6b912d;
}

.dog-size small {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}


.dog-age-select, .dog-weight-select {
    transition: border-color 0.3s ease;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none;
    background-color: #fff;
    color: #2c2c2c;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 51px !important;
    line-height: 1.2 !important;
    height: auto !important;
}
.dog-age-select:focus, .dog-weight-select:focus {
    border-color: #6b912d;
    outline: none;
}

.feeding-info {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feeding-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.size-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.dog-icon {
    font-size: 3rem;
    margin: 15px 0;
    animation: bounce 2s infinite;
}

.dog-icon img {
    max-width: 60px;
    height: auto;
}

.daily-amounts {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
}

.daily-amounts-value {
    display: block;
}

.dog-feeding-guide-container .dog-age-select,
.dog-feeding-guide-container .dog-weight-select {
    color: #222 !important;
}

/* Ensure the color persists for selected options in some browsers */
.dog-feeding-guide-container .dog-age-select option,
.dog-feeding-guide-container .dog-weight-select option {
    color: #222 !important;
}

/* Optional: Reset color on focus or hover if needed */
.dog-feeding-guide-container .dog-age-select:focus,
.dog-feeding-guide-container .dog-weight-select:focus {
    color: #222 !important;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .dog-feeding-guide-container {
        flex-direction: column;
    }

    .main-container .left-panel {
        flex-basis: 100% !important;
    }
    .main-container .right-panel {
        flex-basis: 100% !important;
    }
}