/* CSS Variables for easy color management */
:root {
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --heading-font: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --primary-color: #7659b7;
    --primary-dark: #6B4C9A;
    --primary-light: #8B6BB8;
    --primary-hover: #5A3F8A;
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC05;
    --google-green: #34A853;

    --bs-primary-rgb: 118, 89, 183;
    --bs-success-rgb: 46, 204, 113;


}

.btn-primary{
    --bs-btn-bg: var(--primary-color);
    --bs-btn-hover-bg: var(--primary-hover);
}

.nav-pills{
    --bs-nav-pills-link-active-bg: var(--primary-color);
    --bs-nav-link-color: var(--primary-color);
}

/* Google Login Button Styles */
.btn-google {
    background-color: white;
    border: 1px solid #dadce0;
    color: #3c4043;
    transition: box-shadow 0.1s;
}

.btn-google:hover,.btn-google:focus {
    background-color: #f8f9fa;
    border-color: #dadce0;
    color: #3c4043;
}

.btn-google svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}
.profile-icon{
    width: 40px;
    height: 40px;
}


.profile-picture-large {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.profile-picture-medium {
    width: 60px;
    height: 60px;
    object-fit: cover;
}
.profile-picture-small {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.completion-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 50%;
    padding: 2px;
}

body {
    font-family: var(--font-family);
}

h1, h2, h3{
    font-family: var(--heading-font);
    font-weight: 600;
}

.card {
    border: none;
    --bs-card-bg: #f9f9ff;
    --bs-card-border-radius: 1.5rem;
}

.text-muted{
    color: #95a0aa !important;
}

/* Navigation Styles */
.navbar {
    border-bottom: 1px solid #E9ECEF;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #444444 !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(118, 89, 183, 0.1);
    border-radius: 0.375rem;
}

.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(118, 89, 183, 0.2);
    border-radius: 0.375rem;
}

.navbar-toggler {
    border: 1px solid var(--primary-color);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(118, 89, 183, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28118, 89, 183, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.rating-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.rating-option {
    display: flex;
    flex: 1 0 0%;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.rating-option input[type="radio"] {
    margin-bottom: 8px;
    transform: scale(1.2);
    opacity: 0;
    position: absolute;
}

.rating-option label {
    font-size: 16px;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 8px;
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.rating-option input[type="radio"]:checked+label {
    border: 2px solid rgba(0, 0, 0, 0.7);
    font-weight: 700;
    box-shadow: 0 0 50px inset rgba(0, 0, 0, 0.5);
    transform: scaleY(1.2) scaleX(1.05);
}

.rating-option:hover label {
    background-color: #555555 !important;
}

/* Checkmark animation removed - no longer needed */

/* Color coding for ratings 1-10 - 3 color scheme */
.rating-option label {
    background-color: #ff5454;
    color: white;
}

.rating-option:nth-child(5) label,
.rating-option:nth-child(6) label {
    background-color: #fb8f1b;
    color: white;
}

.rating-option:nth-child(7) label, .rating-option:nth-child(8) label{
    background-color: #f3b300;
    color: white;
}

/* 8 - Amber */
.rating-option:nth-child(9) label, .rating-option:nth-child(10) label{
    background-color: #2ecc71;
    color: white;
}


.dashboard-block {
    /* border: 2px solid #dee2e6; */
    /* border-radius: 16px; */
    /* padding: 0; */
    height: 100px;
    /* transition: all 0.3s ease; */
    /* position: relative; */
    /* overflow: hidden; */
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.dashboard-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.dashboard-block-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* NPS Score Badge Classes */
.badge-score-1, .badge-score-2, .badge-score-3, .badge-score-4 {
    background-color: #ff5454 !important;
    color: white !important;
}

.badge-score-5, .badge-score-6 {
    background-color: #fb8f1b !important;
    color: white !important;
}

.badge-score-7, .badge-score-8 {
    background-color: #f3b300 !important;
    color: white !important;
}

.badge-score-9, .badge-score-10 {
    background-color: #2ecc71 !important;
    color: white !important;
}