/* Free Keyword Research Tool Styles - SEO Market Guru Theme */
:root {
    --primary-color: #2e58ff; /* Primary blue */
    --primary-dark: #1e3fcc; /* Darker blue for hover states */
    --secondary-color: #ff6b35; /* Orange accent */
    --secondary-dark: #e55a2b; /* Darker orange for hover states */
    --text-dark: #1a2b4a; /* Dark blue text */
    --text-medium: #4a5568; /* Medium gray text */
    --text-light: #718096; /* Light gray text */
    --bg-light: #f8fafc; /* Light background */
    --bg-white: #ffffff; /* White background */
    --border-light: #e2e8f0; /* Light border color */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    --container-padding-desktop: 30px;
    --container-padding-tablet: 20px;
    --container-padding-mobile: 15px;
}

/* Base styles with mobile-first approach */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-light);
}

.fkrt-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: var(--container-padding-mobile);
    font-family: var(--font-primary);
    background: var(--bg-white);
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.fkrt-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
}

.fkrt-title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    word-break: break-word;
    hyphens: auto;
}

.fkrt-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.fkrt-description {
    color: var(--text-medium);
    font-size: 16px;
    margin: 20px 0 5px 0;
    line-height: 1.6;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Location styles */
.fkrt-location-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 14px;
    background-color: var(--bg-light);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.fkrt-location-icon {
    font-size: 16px;
    color: var(--primary-color);
}

#fkrt-current-location {
    color: var(--text-dark);
    font-weight: 500;
    word-break: break-word;
    max-width: 100%;
}

.fkrt-location-btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 13px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-top: 5px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.fkrt-location-btn:hover, 
.fkrt-location-btn:active {
    background-color: var(--primary-color);
    color: white;
}

.fkrt-location-settings {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    box-sizing: border-box;
}

.fkrt-location-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
}

.fkrt-location-field {
    width: 100%;
}

.fkrt-location-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.fkrt-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.fkrt-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 88, 255, 0.1);
}

.fkrt-location-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.fkrt-apply-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.fkrt-apply-btn:hover,
.fkrt-apply-btn:active {
    background: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.fkrt-cancel-btn {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 15px;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.fkrt-cancel-btn:hover,
.fkrt-cancel-btn:active {
    background: var(--bg-light);
    color: var(--text-dark);
}

.fkrt-detect-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.fkrt-detect-btn:hover,
.fkrt-detect-btn:active {
    background: var(--secondary-dark);
    box-shadow: var(--shadow-sm);
}

.fkrt-search-form {
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    flex: 0 0 auto;
}

.fkrt-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    width: 100%;
    margin: 0;
}

.fkrt-input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.fkrt-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 88, 255, 0.1);
}

.fkrt-input::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

.fkrt-search-btn {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.fkrt-search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.fkrt-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.fkrt-search-btn:hover::before {
    opacity: 1;
}

.fkrt-search-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.fkrt-search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.fkrt-spinner {
    animation: spin 1s linear infinite;
}

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

.fkrt-results {
    animation: fadeInUp 0.6s ease-out;
    background: var(--bg-light);
    padding: 20px 15px;
    width: 100%;
    box-sizing: border-box;
    flex: 1 0 auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fkrt-results-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 15px;
    width: 100%;
}

.fkrt-results-header h3 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    position: relative;
    padding-left: 12px;
    width: 100%;
    box-sizing: border-box;
}

.fkrt-results-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.fkrt-export-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.fkrt-export-btn {
    padding: 12px 15px;
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.fkrt-export-btn:hover,
.fkrt-export-btn:active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.fkrt-main-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
    width: 100%;
}

.fkrt-result-card {
    background: var(--bg-white);
    padding: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.fkrt-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 1;
}

.fkrt-result-card:active {
    background-color: var(--bg-light);
}

.fkrt-result-card h4 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fkrt-result-card h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.fkrt-difficulty-container {
    display: flex;
    align-items: center;
    gap: 18px;
}

.fkrt-difficulty-bar {
    flex: 1;
    height: 14px;
    background: rgba(226, 232, 240, 0.5);
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.fkrt-difficulty-fill {
    height: 100%;
    border-radius: 7px;
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.fkrt-difficulty-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.fkrt-difficulty-fill.easy {
    background: linear-gradient(135deg, #38b2ac, #4fd1c5);
}

.fkrt-difficulty-fill.medium {
    background: linear-gradient(135deg, #ed8936, #f6ad55);
}

.fkrt-difficulty-fill.hard {
    background: linear-gradient(135deg, #e53e3e, #fc8181);
}

.fkrt-difficulty-text {
    font-weight: 700;
    font-size: 15px;
    min-width: 70px;
    text-align: right;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
}

.fkrt-difficulty-text small {
    font-weight: 500;
    color: var(--text-medium);
    font-size: 13px;
    margin-top: 3px;
}

.fkrt-volume-display,
.fkrt-cpc-display {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    padding: 10px 0;
    position: relative;
}

.fkrt-volume-display::before,
.fkrt-cpc-display::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    opacity: 0.7;
}

.fkrt-location-summary {
    background: linear-gradient(135deg, rgba(46, 88, 255, 0.08), rgba(46, 88, 255, 0.03));
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-left: 3px solid var(--primary-color);
    width: 100%;
    box-sizing: border-box;
}

.fkrt-location-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-dark);
    width: 100%;
    flex-wrap: wrap;
}

.fkrt-location-note {
    font-size: 13px;
    color: var(--text-medium);
    font-style: italic;
    width: 100%;
}

.fkrt-volume-trend,
.fkrt-cpc-comparison {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-medium);
    text-align: center;
    padding: 5px 0;
    background-color: rgba(46, 88, 255, 0.05);
    border-radius: var(--radius-sm);
    width: 100%;
}

.fkrt-competition-analysis {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    margin-bottom: 35px;
    box-shadow: var(--shadow-sm);
}

.fkrt-competition-analysis h4 {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 25px 0;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.fkrt-competition-analysis h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.fkrt-competition-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.fkrt-competition-metric {
    background: linear-gradient(135deg, rgba(46, 88, 255, 0.03), rgba(255, 255, 255, 0.8));
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.fkrt-competition-metric:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(46, 88, 255, 0.2);
}

.fkrt-metric-label {
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
}

.fkrt-metric-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.fkrt-related-keywords {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    margin-bottom: 35px;
    box-shadow: var(--shadow-sm);
}

.fkrt-related-keywords h4 {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 25px 0;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.fkrt-related-keywords h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.fkrt-related-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.fkrt-filter-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.fkrt-filter-btn:hover {
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.fkrt-filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.fkrt-related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.fkrt-related-item {
    background: var(--bg-light);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    font-size: 15px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.fkrt-related-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fkrt-related-item:hover {
    background: var(--bg-white);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.fkrt-related-item:hover::before {
    opacity: 1;
}

.fkrt-geo-insights {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    margin-bottom: 35px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.fkrt-geo-insights::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(46, 88, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.fkrt-geo-insights h4 {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 25px 0;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    z-index: 1;
}

.fkrt-geo-insights h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.fkrt-geo-chart {
    height: 180px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.fkrt-geo-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-light);
}

.fkrt-geo-chart-placeholder {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 30px;
}

.fkrt-geo-bar {
    width: 45px;
    border-radius: 6px 6px 0 0;
    transition: height 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.fkrt-geo-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 6px 6px 0 0;
}

.fkrt-geo-bar-1 { background: linear-gradient(to top, var(--primary-color), #4f75ff); }
.fkrt-geo-bar-2 { background: linear-gradient(to top, #38b2ac, #4fd1c5); }
.fkrt-geo-bar-3 { background: linear-gradient(to top, var(--secondary-color), #ff8c5f); }
.fkrt-geo-bar-4 { background: linear-gradient(to top, #805ad5, #9f7aea); }
.fkrt-geo-bar-5 { background: linear-gradient(to top, #e53e3e, #fc8181); }

.fkrt-geo-summary {
    text-align: center;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
    padding: 15px;
    background: rgba(46, 88, 255, 0.03);
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1;
}

#fkrt-best-region {
    font-weight: 700;
    color: var(--primary-color);
}

.fkrt-credits {
    text-align: center;
    margin-top: 50px;
    padding: 25px 0;
    border-top: 1px solid var(--border-light);
    background: linear-gradient(to right, rgba(46, 88, 255, 0.03), rgba(255, 107, 53, 0.03), rgba(46, 88, 255, 0.03));
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.fkrt-credits p {
    margin: 0;
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

.fkrt-credits a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.fkrt-credits a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.fkrt-credits a:hover {
    color: var(--secondary-color);
}

.fkrt-credits a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Loading Animation */
.fkrt-loading {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.fkrt-loading-dots {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.fkrt-loading-dots div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #3498db;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.fkrt-loading-dots div:nth-child(1) {
    left: 8px;
    animation: fkrt-loading1 0.6s infinite;
}

.fkrt-loading-dots div:nth-child(2) {
    left: 8px;
    animation: fkrt-loading2 0.6s infinite;
}

.fkrt-loading-dots div:nth-child(3) {
    left: 32px;
    animation: fkrt-loading2 0.6s infinite;
}

.fkrt-loading-dots div:nth-child(4) {
    left: 56px;
    animation: fkrt-loading3 0.6s infinite;
}

@keyframes fkrt-loading1 {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes fkrt-loading3 {
    0% { transform: scale(1); }
    100% { transform: scale(0); }
}

@keyframes fkrt-loading2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(24px, 0); }
}

/* Responsive Design - Mobile First Approach */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .fkrt-container {
        padding: var(--container-padding-tablet);
    }
    
    .fkrt-title {
        font-size: 28px;
    }
    
    .fkrt-description {
        font-size: 16px;
    }
    
    .fkrt-input-group {
        flex-direction: row;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .fkrt-input {
        flex: 1;
    }
    
    .fkrt-search-btn {
        width: auto;
        min-width: 150px;
    }
    
    .fkrt-location-row {
        flex-direction: row;
    }
    
    .fkrt-location-field {
        flex: 1;
    }
    
    .fkrt-location-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
    
    .fkrt-apply-btn,
    .fkrt-cancel-btn,
    .fkrt-detect-btn {
        width: auto;
    }
    
    .fkrt-results {
        padding: 25px;
        border-radius: var(--radius-md);
    }
    
    .fkrt-results-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .fkrt-results-header h3 {
        width: auto;
    }
    
    .fkrt-export-buttons {
        flex-direction: row;
        width: auto;
    }
    
    .fkrt-export-btn {
        width: auto;
    }
    
    .fkrt-location-summary {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }
    
    .fkrt-location-badge,
    .fkrt-location-note {
        width: auto;
    }
    
    .fkrt-main-results {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .fkrt-result-card {
        padding: 20px;
    }
    
    .fkrt-result-card h4 {
        font-size: 17px;
    }
    
    .fkrt-difficulty-container {
        flex-direction: row;
    }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
    .fkrt-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: var(--container-padding-desktop);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-light);
    }
    
    .fkrt-title {
        font-size: 32px;
    }
    
    .fkrt-description {
        font-size: 17px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .fkrt-results {
        padding: 30px;
        border-radius: var(--radius-lg);
    }
    
    .fkrt-result-card {
        padding: 25px;
    }
    
    .fkrt-result-card h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .fkrt-result-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }
}

/* Print Styles */
@media print {
    .fkrt-search-form,
    .fkrt-export-buttons,
    .fkrt-location-info,
    .fkrt-location-settings {
        display: none;
    }
    
    .fkrt-container {
        box-shadow: none;
        border: 1px solid #ccc;
        padding: 10px;
        max-width: 100%;
    }
    
    .fkrt-results {
        background: white;
        padding: 0;
    }
    
    .fkrt-result-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}