﻿
.country-select {
    background: rgba(0,0,0, 0.12);
    padding: 0 0.5em;
}

    .country-select .country-display:hover, .country-select select:hover {
        cursor: pointer;
    }

.ryrob-keyword-tool .toolbar {
    display: flex;
    border: 10px solid rgba(0,0,0, 0.3);
    flex-wrap: wrap;
}

.ryrob-keyword-tool .picker {
    width: 100%;
    display: flex;
    gap: 1px;
}

    .ryrob-keyword-tool .picker input[type="radio"] {
        display: none;
    }

    .ryrob-keyword-tool .picker label {
        text-transform: uppercase;
        font-size: 0.65em;
        background: rgba(0,0,0, 0.12);
        padding: 0.7em 1.2em;
        line-height: 1.1em;
        display: inline-flex;
        cursor: pointer;
        align-items: center;
        letter-spacing: .05em;
    }

        .ryrob-keyword-tool .picker label:has(:checked) {
            background: rgba(0,0,0, 0.3);
        }

.ryrob-keyword-tool .examples {
    font-size: 0.7em;
    opacity: 0.85;
    padding: 0 10px;
}

    .ryrob-keyword-tool .examples span {
        padding: 3.5px 6px;
        border-radius: 4px;
        background: rgba(0,0,0, 0.12);
        cursor: pointer;
    }

.ryrob-keyword-tool .keyword-field {
    font-size: 1.2em;
    flex-grow: 1;
    background: #fff;
}

.ryrob-keyword-tool .loading {
    margin: 2em auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6em;
}

    .ryrob-keyword-tool .loading span {
        max-width: 300px;
        font-size: 0.82em;
        max-width: 200px;
        font-size: 0.6em;
        line-height: 1.4em;
    }

#ideas-output, #explorer-output {
    display: grid;
    gap: 0.75em;
    margin-top: 0.75em;
}

#idea-output .keyword-item {
    font-size: 1.15em;
    border-radius: 10px;
    padding: 0.6em 1em;
    animation: fadeIn 0.1s;
    background: rgba(0,0,0, 0.12);
    color: var(--base-3);
}

    #idea-output .keyword-item .row {
        display: flex;
        gap: 0.6em;
    }

    #idea-output .keyword-item .data {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5em;
    }

    #idea-output .keyword-item .info-block {
        display: flex;
        flex-direction: column;
        line-height: 0.9em;
    }

        #idea-output .keyword-item .info-block .label {
            font-size: 0.5em;
            text-transform: uppercase;
            opacity: 0.8;
            letter-spacing: 0.1em;
            white-space: nowrap;
        }

#idea-output .more {
    text-align: center;
    margin-top: 1em;
    margin-bottom: 2em;
}

.more-ideas {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(185px,1fr));
    font-size: 0.6em;
    gap: 0.5em;
    margin-top: 1em;
}

    .more-ideas > div {
        border-radius: 1em;
        background: rgba(0,0,0,0.1);
        padding: 0.8em 0.4em;
        min-height: 300px;
    }

    .more-ideas ul, .more-ideas h3 {
        margin: 0;
    }

    .more-ideas h3 {
        text-transform: capitalize;
        font-size: 1.4em;
        text-align: center;
    }

    .more-ideas a {
        color: var(--base-3);
    }

.keyword-item .more-ideas {
    display: none;
}

.keyword-item.suggestions-loaded .more-ideas {
    display: grid;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 480px) {
    .ryrob-keyword-tool .toolbar {
        flex-direction: column;
    }

    #idea-output .keyword-item {
        font-size: 1em;
    }
}
