﻿
*, input, select {
    box-sizing: border-box;
}


.search-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 18px 25px 18px 60px;
    font-size: 18px;
    border: none;
    border-radius: 14px;
    background: #469f81;
    color: white;
    box-shadow: 0 8px 25px rgba(70, 159, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
    font-weight: 500;
}

    .search-input::placeholder {
        color: rgba(255, 255, 255, 0.7);
        font-weight: 400;
    }

    .search-input:focus {
        box-shadow: 0 12px 35px rgba(70, 159, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
        transform: translateY(-3px);
        background: #3a8a70;
    }

.search-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 2;
}

.search-input:focus + .search-icon {
    transform: translateY(-50%) scale(1.1);
    color: #e0f7fa;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .search-btn:hover {
        background: rgba(255, 255, 255, 0.35);
        transform: translateY(-50%) scale(1.05);
    }

.pulse {
    animation: pulse 2s infinite;
}



.results-container {
    display: block;
    margin-top: 20px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

.results-count {
    color: #469f81;
    font-weight: 600;
    font-size: 16px;
}

.result-imagenes {
    display: flex;
    overflow-y: scroll;
    gap: 10px;
    padding: 25px 5px;
    margin-bottom: 20px;
}

    .result-imagenes img {
        height: 200px;
        max-width: 100%;
    }

.results-sort {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

/* Result Cards */
.result-card {
    background: white;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

    .result-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.result-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.3;
    text-decoration: none;
}

.result-url {
    color: #469f81;
    font-size: 14px;
    margin-bottom: 12px;
    display: block;
    text-decoration: none;
}

    .result-url:hover {
        text-decoration: underline;
    }

.result-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.result-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 1rem;
    justify-content: space-between;
}

.result-meta-item {
}

.result-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.action-btn {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}


.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

    .no-results i {
        font-size: 48px;
        margin-bottom: 15px;
        color: #ddd;
    }

.action-btn:hover {
    background: #e9ecef;
    color: #469f81;
}

.action-btn.save:hover {
    color: #469f81;
}

.action-btn.share:hover {
    color: #007bff;
}

#logoheader {
    height: 250px;
}

@@media (max-width: 600px) {
    .search-input {
        padding: 16px 20px 16px 55px;
        font-size: 16px;
    }

    .search-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    #logoheader {
        height: 150px;
    }
}


@@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(70, 159, 129, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(70, 159, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(70, 159, 129, 0);
    }
}


.c001 {
    max-width: 600px;
    margin: auto;
}

.c002 {
    max-width: 950px;
    margin: auto;
}

