/* Override Bootstrap default border radius */
:root {
    --border-radius-base: 8px; /* Slightly reduced for a more modern look */
    --primary-color: #6c5fc7; /* Purple primary color */
    --primary-hover: #5c50b6; /* Slightly darker purple for hover states */
    --secondary-color: #18d5b1; /* Teal as secondary accent color */
    --accent-color: #ffbc00; /* Yellow accent for highlights */
    --text-dark: #263238;
    --shadow-soft: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-strong: 0 15px 35px rgba(108,95,199,0.2); /* Shadow with purple */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    --primary: #6c5fc7; /* Purple primary */
    --primary-hover: #5c50b6; /* Darker purple for hover */
    --secondary: #18d5b1; /* Teal as secondary */
    --accent: #FF3366;
    --text-muted: #6E6E80;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* Apply the border radius to specific elements */
/* For example, you can apply it to all buttons */
.btn {
    border-radius: var(--border-radius-base);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.btn-lg {
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
}

.btn-xxl {
    padding: 1.2rem 2rem;
    font-size: 1.3rem;
    border-radius: var(--border-radius-base);
}

.gradient {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
}

.gradient:hover {
    background: linear-gradient(90deg, #18d5b1 0%, #15c0a0 100%);
    color: white;
}

/* Or you can apply it to specific elements by class or ID */
.custom-rounded {
    border-radius: var(--border-radius-base);
}

/* Or apply it to input fields */
.form-control {
    border-radius: var(--border-radius-base);
    padding: 0.8rem 1rem;
    border: 2px solid #e9e9e9;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(108, 95, 199, 0.25);
}

body {
    background-color: #ffffff !important;
    background-image: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

.bg-grid {
    background-color: #f8f9fa;
    background-image: none !important;
}

.bg-highlight {
    background-color: rgba(94, 103, 232, 0.05);
    border-radius: var(--border-radius-base);
    padding: 2rem;
}

h1, h2, h3, .display-4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.display-4 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.nav-brand img {
    width: 180px;
}

.nav-item.dropdown.dropdown:hover > .dropdown-menu {
    display: block;
}

.nav-link.active a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
}

nav {
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    padding: 1rem 0;
}

.use-cases .row > div {
    min-height: 150px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.use-cases .row > div:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.btn img {
    height: 20px;
    margin-right: .5rem;
}

.social-icon {
    height: 20px;
    margin-right: .5rem;
}

.undera {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.undera__center {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 6;
    padding: 0 4rem;
    background: white;
}

.undera::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: #e1e1e1;
    content: '';
    width: 100%;
    height: 1px;
}

#handy div {
    background: #f5f5f5 !important;
    border-radius: 0px 0px var(--border-radius-base) var(--border-radius-base);
    margin-top: -2px !important;
    padding: 0.5rem;
    font-weight: 500;
}

.landing-form {
    margin-bottom: 0 !important;
}

.landing-form input[type=text] {
    border-radius: var(--border-radius-base) 0px 0px var(--border-radius-base);
    border-right: 0;
    font-size: 1rem;
    padding: 1.2rem 1.5rem;
    box-shadow: none;
}

.landing-form input[type=submit] {
    border-radius: 0 var(--border-radius-base) var(--border-radius-base) 0;
    border-left: 0;
    font-weight: 700;
    font-size: 1rem;
    padding: 1.2rem 1.5rem;
}

.cta-box-shadow {
    box-shadow: var(--shadow-strong);
}

.landing-icon-outline {
    fill: var(--primary-color);
}

.landing-icon-component-fill {
    fill: #FFFFFF;
}

.landing-icon-component-accent {
    fill: #e8eaff;
}

.landing-icon-shadows {
    fill: #9fb3e2;
    opacity: 0.4;
}

/* New chunky styles for cards */
.card {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Style for feature sections */
.feature-section {
    padding: 5rem 0;
    background: #f8f9fc;
    margin: 3rem 0;
    border-radius: var(--border-radius-base);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(24, 213, 177, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 28px;
    color: #18d5b1;
}

/* Testimonial section */
.testimonial {
    border-radius: var(--border-radius-base);
    padding: 2rem;
    margin: 2rem 0;
    background: white;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--primary-color);
}

.testimonial-photo img {
    border-radius: 50%;
    width: 70px;
    height: 70px;
    object-fit: cover;
}

/* Table styling */
.table-responsive {
    border-radius: var(--border-radius-base);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
}

/* Code container styling */
.code_container {
    border-radius: var(--border-radius-base);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.code_header {
    background: var(--text-dark);
    color: white;
    padding: 1rem;
    font-family: monospace;
    font-weight: 600;
}

.code_container pre {
    margin: 0;
    padding: 1.5rem;
    background: #f8f9fc;
}

.api-url-pre {
    color: rgb(204, 204, 204);
    background: rgb(79, 86, 107) none repeat scroll 0% 0%;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    overflow-wrap: normal;
    line-height: 1.5;
    -moz-tab-size: 4;
    hyphens: none;
    padding: 1em;
    margin: 0.5em 0px;
    overflow: auto;
}

.api-url-pre code {
    color: rgb(204, 204, 204);
    background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    overflow-wrap: normal;
    line-height: 1.5;
    -moz-tab-size: 4;
    hyphens: none;
}

.api-url-pre .token {
    color: rgb(204, 204, 204);
}

.api-endpoint .request-type {
    cursor: pointer;
    text-align: center;
    border-top: 1px solid #d6d1d1;
    border-left: 1px solid #d6d1d1;
    border-bottom: 1px solid #d6d1d1;
    padding: .5rem;
    font-size: 14px;
    font-weight: 700;
    background-color: #3c4157;
    color: #a3acb9;
}

.btn-danger {
    border: 1px solid rgb(191, 42, 29);
}

@keyframes animatedgradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.btn.gradient {
    background: -webkit-linear-gradient(45deg, #6c5fc7 40%, #5c50b6); /* Purple gradient */
    background: linear-gradient(60deg, #6c5fc7 40%, #5c50b6); /* Purple gradient */
    -webkit-animation: animatedgradient 6s ease infinite alternate;
    animation: animatedgradient 6s ease infinite alternate;
    background-size: 300% 300%;
    border: 1px solid rgba(0,0,0,0);
    color: #fff;
}

.btn.gradient:hover {
    /* background: none; */
    /* border: 1px solid rgba(255,255,255,1); */
    /* color: #fff; */
    opacity: 0.75;
}

/* .border, .list-group {
    box-shadow: rgba(37, 11, 54, 0.04) 0px 2px 0px;
} */

.btn-rounded {
    /* border-radius: 10px !important; */
}

.api-endpoint .copy-this {
    cursor: pointer;
    text-align: center;
    border-top: 1px solid #d6d1d1;
    border-right: 1px solid #d6d1d1;
    border-bottom: 1px solid #d6d1d1;
    padding: .35rem;
}

.api-endpoint {
    display: grid;
    grid-template-columns: 50px auto 40px;
    margin: 1rem 0;
    align-items: center;
}

.highlight {
    background-color: rgb(250, 249, 251);
}

.list-group-item-action:hover, .list-group-item-action:focus {
    z-index: inherit;
    color: inherit;
    text-decoration: inherit;
    background-color: #fff
}

.dash-nav-wrapper {
    background: rgba(0, 0, 0, 0) linear-gradient(rgb(108, 95, 199), rgb(92, 80, 182)) repeat scroll 0% 0%;
}

.dash-nav-wrapper .list-group, .dash-nav-wrapper .list-group-item {
    background: transparent;
    border: 0;
}

.list-group-item.active {
    background: #f9fbfd;
    color: inherit;
    border-color: #d1cad8;
}

.dash-nav-wrapper a, .dash-nav-wrapper .list-group-item {
    color: rgb(149, 134, 165);
    position: relative;
}

a {
    transition: color .2s linear;
}

a:visited {
    color: rgb(92, 80, 182)
}

.dash-nav-wrapper a.active {
    color: #fff;
    background: transparent
}

.dash-nav-wrapper a::before {
    display: block;
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 4px;
    left: 0px;
    bottom: 6px;
    width: 5px;
    border-radius: 0px 3px 3px 0px;
    /* background-color: transparent; */
    transition: background-color 0.15s linear 0s;
}

.dash-nav-wrapper a.active::before {
    background-color: rgb(108, 95, 199);
}

.dash-nav-wrapper a:hover {
    color: rgb(189, 180, 199);
    transition: color 0.15s linear 0s;
}

.toggle {
    margin-left: 0 !important;
}

.post-author-img {
    width: 60px;
}

.blog-post img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.use-cases .card-img {
    /* object-fit: cover; */
}

.lead a {
    color: inherit;
    /* font-weight: bold; */
    /* text-decoration: underline; */
}

.lead img {
    height: 16px
}

.code_container {
    position: relative;
    color: #fff;
    border-radius: 12px;
    text-align: left;
    overflow: hidden;
    background: #011627;
    /* max-width: 800px;
    margin: 0 auto; */
}

.code_container .code_header {
    padding: 8px 20px;
    background: #3c4257;
    color: rgba(255, 255, 255, .5);
    font-size: .9em;
}

.code_container pre {
    background: 0 0;
    padding: 0;
    white-space: pre;
    color: #4a4a4a;
    font-size: .875em;
    overflow-x: auto;
}

.code_container pre code {
    padding: 18px 18px 0px 18px;
}

.hljs {
    display: block;
    overflow-x: auto;
    padding: .5em;
    color: #d6deeb;
}

.hljs-attr {
    color: #7fdbca;
}

.hljs-string {
    color: #ecc48d;
}

.table-outer-cell {
    text-align: center;
    background: #f8f9fa
}

.table-bottom {
    text-align: center;
    background: #f1f3f4
}

.table td {
    line-height: 1.3em
}

table.table2 {
    color: #363636;
    border-spacing: 0;
    border-collapse: collapse;
    border-style: hidden;
    border-bottom-style: hidden;
    border-bottom: 1px solid #dbdbdb;
}

.table.is-bordered tr:last-child th {
    border-bottom-width: 1px;
}

.table.is-fullwidth {
    width: 100%;
}

.table {
    background-color: #fff;
    color: #363636;
}

.screen_cutoff {
    background: linear-gradient(to bottom, rgba(251, 250, 251, 1) 0%, rgba(255, 255, 255, 0) 100%);
    border-top: 1px solid #8e8e93;
    width: calc(100% + 50px);
    height: 55px;
}

.screen_cutoff img.general_arrow {
    display: block;
    margin: 0 auto;
    margin-top: 0px;
    width: 50px;
    transform: rotate(110deg);
    margin-top: -10px;
}

.cta {
    padding-top: 12px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.cta.jumbo_preview {
    width: auto !important;
    max-width: 1500px !important;
}

.general_screen_container {
    box-shadow: 0 5px 18px 0 rgba(0, 0, 0, .15);
    /* border-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px; */
    overflow: hidden;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    /* border-bottom: none; */
    padding-bottom: 0;
}

.airtable_examples {
    padding-top: 40px;
    position: relative;
    z-index: 1000;
}

.columns:not(.is-desktop) {
    display: flex;
}

.columns:last-child {
    margin-bottom: -.75rem;
}

.columns {
    margin-left: -.75rem;
    margin-right: -.75rem;
    margin-top: -.75rem;
}

.animated {
    -webkit-animation-duration: 1ms !important;
    animation-duration: 1ms !important;
    -webkit-transition-duration: 1ms !important;
    transition-duration: 1ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
}

.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: .75rem;
}

.airtable_examples .column:nth-of-type(1) img {
    transform: rotate(-5deg);
    width: 85%;
}

.airtable_examples .column:nth-of-type(2) img {
    transform: rotate(2deg);
}

.airtable_examples .column:nth-of-type(3) img {
    width: 85%;
    transform: rotate(-2deg);
}

.airtable_examples img {
    display: block;
    border: 1px solid #d1d1d6;
    box-shadow: 0 5px 18px 0 rgba(0, 0, 0, .15);
    margin: 0 auto;
}

.sheet-tab {
    /* box-shadow: -5px 0 5px -5px #ddd, 5px 0 5px -5px #ddd; */
    margin-left: 10%;
}

.pricing-plan.active {
    border: 2px solid #6c5fc7 !important;
    background: rgba(24, 213, 177, 0.2) !important;
    /* color: #fff !important; */
}

.pricing-plan.active .text {
    /* color: #fff !important; */
}

.pricing-plan .text:hover { text-decoration: none};

.referral-logo-image {
    width: 70%;
    height: auto;
    margin: auto;
    margin-right: auto;
    margin-left: auto;
    filter: grayscale(100%);
    opacity: 0.8;
}
.faq-list li {
    background: transparent
}
.footer li {
    line-height: 2
}

.under_signup_checks {
    text-align: center;
    margin: 0 auto;
    margin-top: 25px;
    max-width: 800px;
}

.dropdown-item.active {
    color: #fff !important
}

[data-tooltip] {
    position: relative;
    text-decoration: underline dotted;
    cursor: help
  }

  [data-tooltip]::after {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    content: attr(data-tooltip);
    left: 0;
    top: calc(100% + 10px);
    border-radius: 3px;
    box-shadow: 0 0 5px 2px rgba(100, 100, 100, 0.6);
    background-color: white;
    z-index: 10;
    padding: 8px;
    width: 300px;
    transform: translateY(-20px);
    transition: all 150ms cubic-bezier(.25, .8, .25, 1);
  }

  [data-tooltip]:hover::after {
    opacity: 1;
    transform: translateY(0);
    transition-duration: 300ms;
  }

  .gap-0 {
    gap: 0 !important;
}

.gap-1 {
    gap: 0.25rem !important; /* 4px */
}

.gap-2 {
    gap: 0.5rem !important; /* 8px */
}

.gap-3 {
    gap: 1rem !important; /* 16px */
}

.gap-4 {
    gap: 1.5rem !important; /* 24px */
}

/* Adding modern, chunky design styles */

/* Typography improvements */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, .display-4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.display-4 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Button styles */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-xxl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    border-radius: var(--radius-md);
}

/* Card styling */
.card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Feature section styling */
.feature-section {
    padding: 5rem 0;
    background: #f8f9fc;
    margin: 3rem 0;
    border-radius: var(--border-radius-base);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(24, 213, 177, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 28px;
    color: #18d5b1;
}

/* Form styling */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 95, 199, 0.15);
}

/* Container spacing and layout */
.container, .container-fluid {
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Gradient effects */
.gradient {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
}

.gradient:hover {
    background: linear-gradient(90deg, #18d5b1 0%, #15c0a0 100%);
    color: white;
}

/* Testimonial styling */
.testimonial {
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.testimonial-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
}

/* Before/After section styling */
.before-after-container {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
}

.before-box {
    flex: 1;
    background-color: #FFF5F5;
    border-radius: var(--radius-md);
    border-left: 5px solid #FF5252;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.after-box {
    flex: 1;
    background-color: #F2FFF5;
    border-radius: var(--radius-md);
    border-left: 5px solid #18d5b1;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

/* Other modern improvements */
.rounded {
    border-radius: var(--radius-sm) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.bg-light {
    background-color: #F8F9FC !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.125rem;
    }

    .before-after-container {
        flex-direction: column;
    }
}

/* Template section improvements */
.template-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.template-card img {
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    object-fit: cover;
}

.template-card .btn {
    margin-top: auto;
}

/* Pricing plans styling */
.pricing-plan {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.pricing-plan.active {
    transform: scale(1.05);
    border: 2px solid var(--primary);
}

/* Footer styling */
footer {
    padding: 4rem 0 2rem;
}

.footer li {
    margin-bottom: 0.75rem;
}

/* Get started signup section */
.signup-section {
    background-color: var(--primary);
    color: white;
    padding: 4rem 0;
    border-radius: var(--radius-md);
    margin: 4rem 0;
}

.signup-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.check-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.check-item i {
    color: #18d5b1;
    margin-right: 0.75rem;
}

.shadow-lg {
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.25) !important;
    border-radius: 12px !important;
    border: 2px solid #6c5fc7 !important;
}

/* Create an alternate shadow style with teal for some elements */
.shadow-teal {
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.25) !important;
    border-radius: 12px !important;
    border: 2px solid #18d5b1 !important;
}

/* Add at the very end of the file */
mark {
    background-color: rgba(24, 213, 177, 0.15);
    padding: 0.1em 0.2em;
    border-radius: 2px;
}

.dropdown-item.active {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

.text-primary {
    color: var(--primary) !important;
}

/* Add teal accent utilities */
.text-teal {
    color: #18d5b1 !important;
}

.bg-teal {
    background-color: #18d5b1 !important;
}

.border-teal {
    border-color: #18d5b1 !important;
}

.btn-teal {
    background-color: #18d5b1 !important;
    border-color: #18d5b1 !important;
    color: white !important;
}

.btn-teal:hover {
    background-color: #15c0a0 !important;
    border-color: #15c0a0 !important;
    color: white !important;
}

/* Modal fixes - ensure modals display correctly */
.modal {
    z-index: 1060 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

.modal-dialog {
    margin: 30px auto;
}

body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

/* For HTML Snippets modal content */
.modal-content {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    border: none;
}

/* Modern Navigation Styles - Removed dropdown styles */
.navbar {
  padding: 1.25rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar .nav-item {
  margin: 0 0.25rem;
}

.navbar .nav-link {
  font-weight: 500;
  color: #333 !important;
  transition: all 0.3s ease;
  position: relative;
}

.navbar .nav-link:hover {
  color: var(--primary) !important;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-item.active .nav-link::after {
  width: 80%;
}

/* Adjust button styling in nav */
.navbar .btn {
  border-radius: 8px;
  padding: 0.6rem 1.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar .btn-dash-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.navbar .btn-dash-outline:hover {
  background-color: rgba(108, 95, 199, 0.05);
  transform: translateY(-2px);
}

.navbar .btn.gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(108, 95, 199, 0.25);
}

/* Mobile navigation improvements */
@media (max-width: 767px) {
  .navbar-collapse {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-top: 1rem;
  }

  .navbar .nav-item {
    margin: 0.5rem 0;
  }
}

/* Dashboard specific styles */
.dashboard-header {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--primary);
}

/* Dashboard cards */
.dash-card {
  border: none;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.dash-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.dash-card .card-body {
  padding: 1.5rem;
}

.dash-card.highlight-teal {
  border-left: 5px solid var(--secondary);
}

/* Dashboard buttons */
.btn-dash-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.btn-dash-primary:hover {
  background: linear-gradient(60deg, var(--primary-hover) 40%, #4c41a6);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dash-outline {
  color: var(--primary);
  background: white;
  border: 2px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.btn-dash-outline:hover {
  color: white !important;
  background: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.btn-dash-outline.btn-teal {
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-dash-outline.btn-teal:hover {
  color: white;
  background: var(--secondary);
}

@media (max-width: 767px) {
  .btn-dash-primary,
  .btn-dash-outline {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.75rem;
    padding: 1rem 1.5rem;
  }
}

/* Dashboard navigation */
.dash-nav-wrapper {
  background: var(--primary);
  position: fixed;
  min-height: 100vh;
  height: 100%;
  width: 250px;
  z-index: 1030;
  transition: all 0.3s ease-in-out;
  left: 0;
  top: 0;
  overflow-y: auto;
}

.dash-nav-wrapper .list-group {
  width: 100%;
  padding: 0;
}

.dash-nav-wrapper a,
.dash-nav-wrapper .list-group-item {
  color: rgba(255, 255, 255, 0.85) !important;
  position: relative;
  border-left: 4px solid transparent;
  padding: 0.75rem 1rem;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  width: 100%;
}

.dash-nav-wrapper a:hover,
.dash-nav-wrapper .list-group-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: rgba(255, 255, 255, 0.5);
  color: #fff !important;
}

.dash-nav-wrapper a.active,
.dash-nav-wrapper .list-group-item.active {
  background: rgba(255, 255, 255, 0.15);
  border-left-color: var(--secondary);
  color: #fff !important;
}

.dash-nav-wrapper a.active i,
.dash-nav-wrapper .list-group-item.active i {
  color: var(--secondary);
}

/* Dashboard stats */
.stat-card {
  border: none;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(108, 95, 199, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.stat-content {
  flex: 1;
}

.stat-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.stat-label {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* Dashboard alerts */
.alert {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.alert:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.alert-success {
  background: #f0fff0;
  border-left: 5px solid var(--secondary);
  color: var(--text-dark);
}

.alert-info {
  background: rgba(108, 95, 199, 0.1);
  border-left: 5px solid var(--primary);
  color: var(--text-dark);
}

.alert-warning {
  background: #fff8e6;
  border-left: 5px solid #ffc107;
  color: var(--text-dark);
}

.alert-danger {
  background: #fff0f0;
  border-left: 5px solid #dc3545;
  color: var(--text-dark);
}

/* Dashboard progress bars */
.progress.progress-slim {
  background-color: rgba(108, 95, 199, 0.1);
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.progress.progress-slim .progress-bar {
  background: var(--gradient-primary);
  border-radius: 999px;
}

/* Dashboard tables */
.table {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.table:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.table thead th {
  background: rgba(108, 95, 199, 0.1);
  border-bottom: 2px solid var(--primary);
  color: var(--text-dark);
  font-weight: 600;
  padding: 1rem;
}

.table td {
  padding: 1rem;
  vertical-align: middle;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Dashboard mobile navigation */
@media (max-width: 767px) {
  .dash-nav-wrapper {
    transform: translateX(-100%);
    width: 85%;
    max-width: 320px;
    box-shadow: none;
  }

  .dash-nav-wrapper.active {
    transform: translateX(0);
    box-shadow: var(--shadow-lg);
  }

  .mobile-overlay.active {
    display: block;
    opacity: 1;
  }

  #page-content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
    padding-top: 60px;
  }

  .mobile-nav-toggle {
    display: block;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1050;
    background: var(--primary);
    border: none;
    padding: 8px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
  }

  .mobile-nav-toggle .material-icons {
    color: white;
    font-size: 24px;
  }

  body.nav-active {
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  .mobile-nav-toggle {
    display: none;
  }

  #page-content-wrapper {
    margin-left: 250px;
    width: calc(100% - 250px);
  }
}

/* Dashboard mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1025;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

@media (max-width: 767px) {
  .mobile-overlay.active {
    display: block;
  }
}

/* Dashboard user info */
.user-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info-content {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.875rem;
}

.user-info-icon {
  color: var(--secondary);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.user-email {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(250px - 3rem);
}

/* Dashboard feature icons and highlights */
.dash-icon-primary {
  color: var(--primary);
}

.dash-icon-teal {
  color: var(--secondary);
}

.dash-highlight {
  background: rgba(108, 95, 199, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.dash-highlight-teal {
  background: rgba(24, 213, 177, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

/* Responsive improvements for dashboard content */
@media (max-width: 767px) {
  /* Fix container padding on mobile */
  #page-content-wrapper .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  /* Fix API URL display on mobile */
  .dash-highlight {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem;
  }
  
  .dash-highlight .mr-2 {
    margin-right: 0 !important;
    margin-bottom: 0.5rem;
  }
  
  .dash-highlight a.text-truncate {
    max-width: 100%;
    word-break: break-all;
    white-space: normal !important;
    text-overflow: clip !important;
  }
  
  /* Fix list group items on mobile */
  .list-group-item {
    padding: 1rem !important;
  }
  
  /* Fix buttons on mobile */
  .btn-sm {
    margin-bottom: 0.5rem !important;
  }
  
  /* Fix dashboard header and create button */
  .dashboard-header {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .float-right {
    float: none !important;
    display: block !important;
    margin-top: 1rem !important;
    width: 100%;
  }
  
  /* Fix modal dialog on mobile */
  .modal-dialog {
    margin: 1rem;
  }
  
  .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }
  
  /* Fix code blocks on mobile */
  pre {
    overflow-x: auto;
    max-width: 100%;
  }
  
  pre code {
    font-size: 0.75rem;
  }
}
