.backdrop-blur {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background-color: #0a0e139e !important;

}

#durationPreview {
    font-size: small;
}

/* Tabs underline effect */
.nav-tabs .nav-link {
    /*border: none;*/
    border-bottom: 3px solid transparent;
    color: #444;
    transition: border-color 0.3s, color 0.3s;
}

.nav-tabs .nav-link:hover {
    border-bottom: 3px solid #ccc;
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid #0d6efd; /* Bootstrap primary */
    color: #0d6efd;
    font-weight: 600;
}

/*#sp-main-body {
    padding: 10px 0 !important;
}*/

.fit-page {
    min-height: calc(90vh - 100px) !important;
}

.result-card .card-title {
    font-weight: 600;
}

.result-card small {
    color: #6c757d;
}

.google-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.google-search-input {
    height: 46px;
    border-radius: 24px;
    border: 1px solid #dfe1e5;
    padding: 0 48px 0 16px;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
    box-shadow: none;
}

.google-search-input:focus {
    border-color: #4285f4;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    outline: none;
}

.search-icon {
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa0a6;
    font-size: 18px;
    pointer-events: none;
}

.btn-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6c757d;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.btn-clear:hover {
    color: #dc3545;
}

.result-card {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: none;
    }
}

.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px); /* older browsers */
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: 0;
}

