:root{
    --main-color: #169931;
}

/* Marquee Slider Styles */
.marquee-section {
    background: #f8f9fa;
    padding: 20px 0;
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    animation: marquee-scroll 30s linear infinite;
    gap: 20px;
    padding: 0 20px;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track .marquee-card {
    cursor: pointer;
}

.marquee-card {
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: transform 0.3s ease;
}

.marquee-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.marquee-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 0 0 8px 8px;
}

.marquee-card.positive::after {
    background: #10b981;
}

.marquee-card.negative::after {
    background: #ef4444;
}

.marquee-card.neutral::after {
    background: #6b7280;
}

.marquee-symbol {
    font-weight: 700;
    font-size: 16px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 6px;
}

.marquee-icon {
    width: 16px;
    height: 16px;
    background: #d97706;
    border-radius: 2px;
    position: relative;
}

.marquee-icon::before {
    content: '🏛️';
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.marquee-value {
    font-size: 18px;
    font-weight: 600;
    color: #6b7280;
    margin-left: auto;
}

.marquee-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
}

.marquee-change.positive {
    color: #10b981;
}

.marquee-change.negative {
    color: #ef4444;
}

.marquee-change.neutral {
    color: #6b7280;
}

.marquee-arrow {
    font-size: 12px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .marquee-card {
        min-width: 180px;
        padding: 12px 16px;
    }
    
    .marquee-symbol {
        font-size: 14px;
    }
    
    .marquee-value {
        font-size: 16px;
    }
    
    .marquee-change {
        font-size: 12px;
    }
}

/* Brand Ranking Cards Styles */
.brand-ranking-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 3rem;
    font-family: 'Poppins', sans-serif;
}

.brand-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.brand-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--main-color);
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.brand-card:hover::before {
    transform: scaleX(1);
}

.brand-rank {
    font-size: 3rem;
    font-weight: 500;
    font-style: italic;
    color: #374151;
    line-height: 1;
        font-family: 'Poppins', sans-serif;
   position: absolute;
   bottom: 0;
   right: 0;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

.brand-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.brand-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8f9fa;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.brand-card:hover .brand-logo {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.brand-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.brand-change {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.brand-change.positive {
    color: #10b981;
}

.brand-change.negative {
    color: #ef4444;
}

.brand-value {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
    font-family: 'Poppins', sans-serif;
}

/* Grid responsive adjustments */
@media (max-width: 1200px) {
    .brand-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .brand-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .brand-card {
        padding: 25px 20px;
    }
    
    .brand-rank {
        font-size: 2.5rem;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .brand-logo {
        width: 70px;
        height: 70px;
        padding: 10px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .brand-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-card {
        padding: 20px 15px;
    }
    
    .brand-rank {
        font-size: 2rem;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .brand-logo {
        width: 60px;
        height: 60px;
        padding: 8px;
    }
}

/* Industry Categories Section Styles */
.industry-categories-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.industry-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 0 auto;
}

.industry-category-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.industry-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-color: var(--main-color);
}

.industry-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.industry-category-card:hover::before {
    transform: scaleX(1);
}

/* Category-specific colors */
.industry-category-card.tech::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.industry-category-card.automotive::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.industry-category-card.consumer::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.industry-category-card.entertainment::before {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.industry-category-card.food::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.industry-category-card.social::before {
    background: linear-gradient(90deg, #ec4899, #db2777);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.category-icon.tech {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.category-icon.automotive {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.category-icon.consumer {
    background: linear-gradient(135deg, #10b981, #059669);
}

.category-icon.entertainment {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.category-icon.food {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.category-icon.social {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

.category-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
}

.category-count {
    font-size: 0.9rem;
    color: #6b7280;
    font-family: 'Poppins', sans-serif;
}

.category-total-value {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    font-family: 'Poppins', sans-serif;
}

.brands-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brand-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.brand-item:hover {
    background: #f8f9fa;
    border-color: var(--main-color);
}

.brand-name-small {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    font-family: 'Poppins', sans-serif;
}

.brand-change-small {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
}

.brand-change-small.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.brand-change-small.negative {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Responsive adjustments for Industry Categories */
@media (max-width: 768px) {
    .industry-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    .industry-category-card {
        padding: 20px;
    }
    
    .category-header {
        gap: 12px;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .industry-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-category-card {
        padding: 18px;
    }
    
    .category-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.table > tbody > tr > td {
   background-color: unset !important;
   vertical-align: middle !important;
}
.bg-main {
    background-color: var(--main-color) !important;
}
.btn-main {
    padding: 0.5rem 1rem;
   border-left: 1px solid #ddd;
   border-right: 1px solid #ddd;
   border-radius: 8px;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
   transition: all 0.3s ease;
   cursor: pointer;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    color: white;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}
.btn-main:hover {
    background-color: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

#guestLoginModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
    background: #fff;
}

#guestLoginModal .modal-header {
    background: var(--main-color);
    color: white;
    border-radius: 12px 12px 0 0;
    border: none;
    padding: 1.5rem 2rem;
}

#guestLoginModal .modal-title {
    font-family: Poppins;
    font-weight: 600;
    font-size: 1.25rem;
}

#guestLoginModal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#guestLoginModal .btn-close:hover {
    opacity: 1;
}

#guestLoginModal .modal-body {
    padding: 2rem;
    background: #fff;
}

#guestLoginModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

/* Social Login Buttons */
#guestLoginModal .btn-outline-danger {
    border: 2px solid #dc3545;
    color: #dc3545;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: Poppins;
}

#guestLoginModal .btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

#guestLoginModal .btn-outline-primary {
    border: 2px solid #0d6efd;
    color: #0d6efd;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: Poppins;
}

#guestLoginModal .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Google User Modal Styles */
#googleUserModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
    background: #fff;
}

#googleUserModal .modal-header {
    background: var(--main-color);
    color: white;
    border-radius: 12px 12px 0 0;
    border: none;
    padding: 1.5rem 2rem;
}

#googleUserModal .modal-title {
    font-family: Poppins;
    font-weight: 600;
    font-size: 1.25rem;
}

#googleUserModal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#googleUserModal .btn-close:hover {
    opacity: 1;
}

#googleUserModal .modal-body {
    padding: 2rem;
    background: #fff;
}

#googleUserModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

#googleUserModal .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

#googleUserModal .form-control,
#googleUserModal .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

#googleUserModal .form-control:focus,
#googleUserModal .form-select:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.2rem rgba(22, 153, 49, 0.25);
}

#googleUserModal .form-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Form Elements */
#guestLoginModal .form-label {
    font-family: Poppins;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

#guestLoginModal .form-control,
#guestLoginModal .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: Poppins;
    transition: all 0.3s ease;
    background: #fff;
}

#guestLoginModal .form-control:focus,
#guestLoginModal .form-select:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.2rem rgba(22, 153, 49, 0.25);
    outline: none;
}

#guestLoginModal .form-control::placeholder {
    color: #6c757d;
    font-family: Poppins;
}

/* Primary Button */
#guestLoginModal .btn-primary {
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-family: Poppins;
    transition: all 0.3s ease;
}

#guestLoginModal .btn-primary:hover {
    background-color: var(--main-color);
    border-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 153, 49, 0.3);
}

#guestLoginModal .btn-secondary {
    background-color: #6c757d;
    border: 2px solid #6c757d;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-family: Poppins;
    transition: all 0.3s ease;
}

#guestLoginModal .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Divider Styling */
#guestLoginModal .position-relative hr {
    border: none;
    height: 1px;
    background:  #a8a8a8;
}

#guestLoginModal .position-absolute.top-50.start-50.translate-middle {
    background: #fff;
    padding: 0 1rem;
    color: #6c757d;
    font-weight: 500;
    font-family: Poppins;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #guestLoginModal .modal-body {
        padding: 1.5rem;
    }

    #guestLoginModal .modal-footer {
        padding: 1rem 1.5rem;
    }

    #guestLoginModal .d-md-flex {
        flex-direction: column;
    }

    #guestLoginModal .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Loading Spinner Styles */
#loadingSpinner {
    margin-left: 8px;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button disabled state */
#guestLoginModal .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

#trendChart {
    width: 100% !important;
    height: 400px !important;
    max-height: 400px;
}

.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}
.score-container-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;

}
.score-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.score-wrapper img {
    width: 180px;
    height: 180px;
}
.score-wrapper-content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.score-content-answer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 30px;
    text-align: center;
    line-height: 1;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    top: 38px;
    position: absolute;
}

.score-content-answer.quality{
    color: #e11f26;
}
.score-content-answer.familiarity {
    color: #133c8a;
}
.score-content-answer.affordability {
    color: #007236;
}
.score-content-answer.availability {
    color: #0092c8;
}
.score-content-title {
    font-size: 16px;
    font-weight: 800;
    color: white;
    margin: 0;
    padding: 0;
    top: 72px;
    position: absolute;
    text-transform: uppercase;
}
.score-content-percentage {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin: 0;
    padding: 0;
    bottom: 32px;
    position: absolute;
}
