/* Modern theme with subtle gradients */
body {
    min-height: 100vh;
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
    color: #37515F;
}

body.bg-light {
    background: rgb(123,223,242);
    background: linear-gradient(180deg, rgba(123,223,242,0.3477984943977591) 1%, rgba(123,223,242,0.14891894257703087) 35%, rgba(252,228,216,0.05368084733893552) 100%);
}

h1, h2, h3, h4, h5, h6,
.title-wrapper h1.title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #212B35;
}

.main-body {
    min-height: 70vh;
    max-width: 1200px;
}

.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #f0f0f0;
}

.card {
    border: 1px solid #e8e8e8;
    border-radius: 0.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    margin: 0 auto;
    background: white;
}

.card:hover {
    transform: translateY(-2px);
}

.url-analyze {
    padding: 15px;
}

.btn-primary {
    background: #76CC76;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    color: #000;
    width: 100%;
}

.btn-primary:hover {
    background: #599b59;
    transform: translateY(-1px);
    color: #fff;
}

/* Loading Animation Styles */
.loading-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.progress {
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #76CC76 0%, #539753 100%);
    transition: width 0.5s ease;
    background-size: 100% 100%;
}

.loading-steps {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.step-item {
    flex: 1;
    min-width: 24px;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step-item.active {
    opacity: 1;
    transform: translateY(-2px);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-item i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
    color: #76CC76;
}

.step-item.active i {
    color: #51879a;
}

.step-item span {
    font-size: 14px;
    color: #618a9e;
    display: block;
}

.step-item.active span {
    color: #000;
}

.title-wrapper h1.title {
    text-align: center;
    margin-bottom: 20px;
}

.screenshot-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 25px;
    border:1px solid #f5f7f9;
    border-radius: 20px;
}

.screenshot-wrapper img {
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-height: 450px;
    max-width: 90%;
    object-fit: contain;
    border:1px solid #b6bbc8;
    margin: 10px;
}

.col-md-6:first-child .screenshot-wrapper img {
    max-width: 100%;
}

.col-md-6:last-child .screenshot-wrapper img {
    max-width: 375px;
}

.list-group-item {
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    background: #ffffff;
    border-top: 1px solid var(--bs-list-group-border-color) !important;
    box-shadow: 1px 0px 5px #73737314;
    padding: 15px;
}

.list-group-item:first-child {
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    background: #ffffff;
    border-top: 1px solid var(--bs-list-group-border-color) !important;
    box-shadow: 1px 0px 5px #73737314;
    padding: 15px;
}

.list-group-item:last-child {
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    background: #ffffff;
    border-top: 1px solid var(--bs-list-group-border-color) !important;
    box-shadow: 1px 0px 5px #73737314;
    padding: 15px;
}


#working-well .list-group-item {
    border-left: 4px solid #76CC76;
}

#desktop-suggestions .list-group-item {
    border-left: 4px solid #7BDFF2;
}

#mobile-suggestions .list-group-item {
    border-left: 4px solid #75a6cc;
}

#general-improvements .list-group-item {
    border-left: 4px solid #465362;
}

#priority-fixes .list-group-item {
    border-left: 4px solid #FF3366;
}

#priority-issues .list-group-item {
    border-left: 4px solid #FF3366;
}

#whats-working .list-group-item {
    border-left: 4px solid #76CC76;
}

.alert {
    border: none;
    border-radius: 0.5rem;
}

.footer {
    border-top: 1px solid var(--bs-border-color);
    background: white;
}

.text-brand-primary {
    color: #76CC76;
}

.text-brand-secondary {
    color: #5c9d5c;
}

.bg-brand-gradient {
    background: linear-gradient(135deg, #e070ff 0%, #00dcea 100%);
}

/****** ICON COLORS ******/

/* WHAT'S WORKING WELL */
.bi-check-circle-fill {
    color: #76CC76 !important;
}

/* PRIORITY FIXES */
.bi-x-circle-fill {
    color: #FF3366 !important;
}

/* MOBILE */
.bi-phone {
    color: #75a6cc !important;
}

/* DESKTOP */
.bi-laptop {
    color: #7BDFF2 !important;
}

/* GENERAL */
.bi-arrow-up-right-circle-fill {
    color: #465362 !important;
}

/* FORM STYLING */
input {
    box-shadow: 0px 0px 6px #46536210;
}

input.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #a1c1d6 !important;
    box-shadow: 0 0 0 .15rem rgb(0 158 255 / 9%) !important;
}

/* TABLE */
.card-header {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    margin-bottom: 0;
    border-radius: 8px 8px 0px 0px !important;
    background-color: linear-gradient(180deg, rgb(248 249 249) 0%, rgb(252 252 252) 35%, rgb(255 255 255) 100%) !important;
    border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
}

li.nav-item .nav-link {
    color: #000 !important;
    --bs-nav-link-hover-color: #fff !important;
}

.card-header-tabs .nav-link.active {
    color: #000 !important;
    background: #fff !important;
}

.nav-link:focus, .nav-link:focus-within, .nav-link:hover {
    border: 1px solid #d3e8ee !important;
    border-width: 1px 1px 0px 1px !important;
    background: #fff !important;
    color: #000 !important;
}

.tab-content .tab-pane .card-header h1, h2, h3, h4, h5, h6, .title-wrapper h1.title {
    color: #000 !important;
}
