/* Smile Pilot - Basic Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.dentist-layout-wrapper {
    height: 100vh;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header.site-header {
    background-color: #ffffff;
    color: #2c3e50;
    padding: 0.75rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(44, 62, 80, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav {
    padding-top: 20px;
    width: 100%;
    position: relative;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #2c3e50;
    align-items: center;
    justify-content: center;
    z-index: 101;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: space-between;
    min-width: 0;
}

/* Brand / Logo */
.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 150px;
    width: auto;
    display: block;
}

.brand-text {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

.primary-nav {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.primary-nav li {
    position: relative;
}

.primary-nav li a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.35rem 0.65rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.primary-nav li a:hover {
    color: #4caf50;
    border-bottom-color: #4caf50;
}

/* Public Nav Dropdown Styles */
.main-nav .nav-dropdown {
    position: relative;
}

.main-nav .nav-dropdown-toggle {
    cursor: pointer;
    position: relative;
}

.main-nav .nav-dropdown-toggle .dropdown-arrow {
    margin-left: 4px;
    transition: transform 0.2s;
    width: 12px;
    height: 12px;
}

.main-nav .nav-dropdown.active .nav-dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

.main-nav .nav-dropdown.active .nav-dropdown-toggle {
    color: #4caf50;
    border-bottom-color: #4caf50;
}

.main-nav .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0.5rem 0 0 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.main-nav .nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-nav .nav-dropdown-menu li {
    margin: 0;
}

.main-nav .nav-dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav .nav-dropdown-menu li a:hover {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border-bottom: none;
}

.main-nav .nav-dropdown-menu li:first-child a {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.main-nav .nav-dropdown-menu li:last-child a {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.nav-actions .nav-dropdown {
    position: relative;
}

.nav-actions .nav-dropdown-toggle {
    cursor: pointer;
    position: relative;
}

.nav-actions .nav-dropdown-toggle .dropdown-arrow {
    transition: transform 0.2s;
}

.nav-actions .nav-dropdown.active .nav-dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-actions .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.nav-actions .nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-actions .nav-dropdown-menu li {
    margin: 0;
}

.nav-actions .nav-dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-actions .nav-dropdown-menu li a:hover {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.nav-actions .nav-dropdown-menu li:first-child a {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.nav-actions .nav-dropdown-menu li:last-child a {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.nav-btn {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-btn-primary {
    background-color: #4caf50;
    color: #ffffff;
    border-color: #4caf50;
}

.nav-btn-primary:hover {
    background-color: #43a047;
    border-color: #43a047;
    transform: translateY(-1px);
}

.nav-btn-secondary {
    background-color: transparent;
    color: #2c3e50;
    border-color: rgba(44, 62, 80, 0.3);
}

.nav-btn-secondary:hover {
    background-color: rgba(44, 62, 80, 0.05);
    border-color: #2c3e50;
    transform: translateY(-1px);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
  
}


/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #7f8c8d;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #4caf50;
    color: white;
    border: 2px solid #4caf50;
}

.btn-primary:hover {
    background-color: #43a047;
    border-color: #43a047;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background-color: #2c3e50;
    color: white;
    border: 2px solid #2c3e50;
}

.btn-secondary:hover {
    background-color: #34495e;
    border-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* Features */
.features {
    margin-top: 3rem;
}

.features h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature ul {
    list-style-position: inside;
}

.feature ul li {
    margin-bottom: 0.5rem;
}

/* Auth (Login / Signup) */
.auth-container {
    max-width: 720px;
    margin: 3rem auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    border: 1px solid rgba(44, 62, 80, 0.06);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
    background: linear-gradient(90deg, rgba(44, 62, 80, 0.06), rgba(76, 175, 80, 0.06));
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 0.9rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    color: #54616f;
    border-bottom: 2px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.auth-tab:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.auth-tab.active {
    color: #2c3e50;
    border-bottom-color: #4caf50;
    background-color: #ffffff;
}

.auth-form {
    padding: 2.25rem 2.5rem 2.5rem;
}

.auth-form h2 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 1.6rem;
}

.form-subtitle {
    margin-bottom: 1.75rem;
    font-size: 0.98rem;
    color: #6b7280;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.form-footer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.form-footer a {
    color: #4caf50;
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

.alert {
    margin: 1.25rem 2.5rem 0;
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.alert-error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background-color: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

/* Dashboard */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 3px solid #4caf50;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #fff;
    background-color: rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
}

.footer-links a:active {
    transform: translateY(0);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* Homepage Marketing Styles */
.homepage {
    background: #ffffff;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.hero-image img,
.hero-image-placeholder {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

.hero-image-placeholder {
    background: rgba(76, 175, 80, 0.1);
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
    font-weight: 300;
}

.hero-link {
    margin-top: 1.5rem;
    text-align: center;
}

.hero-marketplace-link {
    color: #4caf50;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-marketplace-link:hover {
    color: #43a047;
    transform: translateX(3px);
}

.hero-marketplace-link::after {

    transition: transform 0.2s;
}

.hero-marketplace-link:hover::after {
    transform: translateX(3px);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.1rem 2.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.01em;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Stats Section */
.stats-section {
    background: #ffffff;
    padding: 60px 20px;
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #2c3e50 0%, #4caf50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Value Proposition */
.value-prop {
    padding: 100px 20px;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

/* Value Proposition Header - Custom Layout */
.value-prop-header-container {
    margin-bottom: 5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.value-prop-header-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: start;
}

.value-prop-badge-column {
    flex-shrink: 0;
}

.value-prop-badge-oval {
    background: rgba(76, 175, 80, 0.15);
    border-radius: 200px / 120px;
    width: 220px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.25);
}

.badge-text-line {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d5016;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-align: center;
}

.value-prop-content-column {
    flex: 1;
    min-width: 0;
}

.value-prop-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a252f;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.value-prop-description-text {
    font-size: 1.2rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 700px;
}

.value-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin-top: 1.5rem;
}

.value-benefit-box {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.value-benefit-box:hover {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.value-benefit-box i {
    color: #4caf50;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.value-benefit-box span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.value-benefit-box-centered {
    /* Removed grid-column span - now displays inline with others */
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(44, 62, 80, 0.08);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #43a047);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-color: rgba(76, 175, 80, 0.2);
}

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    color: #4caf50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    background: rgba(76, 175, 80, 0.15);
}

.value-icon svg,
.value-icon i {
    width: 100%;
    height: 100%;
    font-size: 2.5rem;
}

.value-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.value-card p {
    color: #7f8c8d;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Benefits Showcase */
.benefits-showcase {
    padding: 100px 20px;
    background: #ffffff;
}

.benefits-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-feature {
    padding: 2rem;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(44, 62, 80, 0.08);
}

.benefit-feature:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: rgba(76, 175, 80, 0.2);
}

.benefit-feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    color: #4caf50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-feature:hover .benefit-feature-icon {
    transform: scale(1.1);
    background: rgba(76, 175, 80, 0.15);
}

.benefit-feature-icon svg,
.benefit-feature-icon i {
    width: 100%;
    height: 100%;
    font-size: 2rem;
}

.benefit-feature-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-feature h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.benefit-feature p {
    color: #7f8c8d;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Dentist & Member Sections */
.dentist-section,
.member-section {
    padding: 100px 20px;
}

.dentist-section {
    background: #ffffff;
    position: relative;
}

.member-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 1rem;
}

.section-image {
    margin-bottom: 4rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(44, 62, 80, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.section-image img,
.image-placeholder {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section-image:hover img {
    transform: scale(1.02);
}

.image-placeholder {
    background: rgba(44, 62, 80, 0.05);
    padding: 2rem;
}

.section-header h2 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.section-subtitle {
    font-size: 1.3rem;
    color: #5a6c7d;
    line-height: 1.7;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #4caf50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-width 0.3s ease;
    border-top: 1px solid rgba(44, 62, 80, 0.08);
    border-right: 1px solid rgba(44, 62, 80, 0.08);
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}

.benefit-item:hover {
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    border-left-width: 6px;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    color: #4caf50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(76, 175, 80, 0.15);
}

.benefit-icon svg,
.benefit-icon i {
    width: 100%;
    height: 100%;
    font-size: 2rem;
}

.benefit-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.benefit-item p {
    color: #7f8c8d;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #4caf50 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-box h3 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cta-box .btn {
    position: relative;
    z-index: 1;
}

/* Comparison Table */
.comparison-box {
    background: white;
    padding: 3.5rem;
    border-radius: 16px;
    margin: 4rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(44, 62, 80, 0.08);
}

.comparison-box h3 {
    text-align: center;
    font-size: 2.25rem;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.comparison-table {
    display: grid;
    gap: 0;
    border: 1px solid rgba(44, 62, 80, 0.12);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 0;
}

.comparison-row.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
}

.comparison-row:not(.header) {
    background: white;
    border-top: 1px solid rgba(44, 62, 80, 0.08);
    transition: background-color 0.2s ease;
}

.comparison-row:not(.header):nth-child(even) {
    background: #f8f9fa;
}

.comparison-row:not(.header):hover {
    background: rgba(76, 175, 80, 0.03);
}

.comparison-cell {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.comparison-cell.highlight {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    font-weight: 600;
    color: #2c3e50;
    border-left: 3px solid #4caf50;
    color: #2c3e50;
}

.comparison-row.header .comparison-cell.highlight {
    background: #4caf50;
    color: white;
}

/* Testimonials */
.testimonials {
    padding: 100px 20px;
    background: #ffffff;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.75rem;
    color: #2c3e50;
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid rgba(44, 62, 80, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: rgba(76, 175, 80, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.testimonial-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #4caf50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.3);
}

.testimonial-avatar img,
.avatar-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-placeholder {
    background: rgba(76, 175, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-stars {
    color: #4caf50;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #4caf50 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.final-cta .cta-buttons {
    position: relative;
    z-index: 1;
}

.final-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   ENTERPRISE-LEVEL HOME PAGE STYLES & ANIMATIONS
   ============================================ */

/* Enhanced Hero Section */
.enterprise-hero {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #34495e 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: -7s;
    background: rgba(76, 175, 80, 0.15);
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 50%;
    animation-delay: -14s;
    background: rgba(76, 175, 80, 0.08);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.5;
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
        opacity: 0.8;
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
        opacity: 0.6;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title .title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title .title-line:last-child {
    animation-delay: 0.2s;
}

.gradient-text {
    background: linear-gradient(135deg, #4caf50 0%, #81c784 50%, #a5d6a7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-image-wrapper {
    position: relative;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.3) 0%, transparent 70%);
    border-radius: 16px;
    pointer-events: none;
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

/* Enhanced Stats Section */
.enterprise-stats {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.enterprise-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.3), transparent);
}

.stat-item {
    position: relative;
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    font-size: 1.5rem;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(76, 175, 80, 0.15);
}

.stat-number {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-suffix {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #4caf50;
}

/* Enhanced Value Cards */
.enterprise-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44, 62, 80, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.enterprise-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(76, 175, 80, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.enterprise-card:hover::after {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.4), rgba(76, 175, 80, 0));
    border-radius: 14px;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.enterprise-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.2), 0 0 0 1px rgba(76, 175, 80, 0.1);
}

.enterprise-card:hover .card-glow {
    opacity: 1;
}

.card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4caf50;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    font-size: 0.875rem;
}

.card-arrow i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.enterprise-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.08));
    backdrop-filter: blur(10px);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.section-badge:hover::before {
    left: 100%;
}

.section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.3);
}

.section-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(76, 175, 80, 0.5) 35px, rgba(76, 175, 80, 0.5) 70px);
    pointer-events: none;
}

/* Enhanced Benefits Features */
.enterprise-feature {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(44, 62, 80, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.enterprise-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #4caf50, #81c784);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.enterprise-feature:hover::before {
    transform: scaleY(1);
}

.enterprise-feature:hover {
    transform: translateY(-8px) translateX(4px);
    box-shadow: 0 12px 32px rgba(76, 175, 80, 0.15);
    background: #ffffff;
    border-color: rgba(76, 175, 80, 0.3);
}

.feature-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(76, 175, 80, 0.05);
    line-height: 1;
    transition: color 0.3s ease;
}

.enterprise-feature:hover .feature-number {
    color: rgba(76, 175, 80, 0.1);
}

/* Enhanced Buttons */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

.btn-glow span,
.btn-glow svg,
.btn-glow i {
    position: relative;
    z-index: 1;
}

.btn-glow svg,
.btn-glow i {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.btn-glow:hover svg,
.btn-glow:hover i {
    transform: translateX(4px);
}

.hero-cta .btn i,
.cta-buttons .btn i {
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Enhanced CTA Boxes */
.enterprise-cta {
    position: relative;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #4caf50 100%);
    border: none;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.enterprise-cta h3,
.enterprise-cta p {
    position: relative;
    z-index: 2;
}

.enterprise-cta .btn {
    position: relative;
    z-index: 2;
}

/* Enhanced Testimonials */
.enterprise-testimonials {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.enterprise-testimonial {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44, 62, 80, 0.08);
    transition: all 0.4s ease;
}

.testimonial-quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(76, 175, 80, 0.1);
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.enterprise-testimonial:hover .testimonial-quote-icon {
    transform: scale(1.1);
    color: rgba(76, 175, 80, 0.2);
}

.enterprise-testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.2);
}

/* Enhanced Final CTA */
.enterprise-final-cta {
    position: relative;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #34495e 100%);
    overflow: hidden;
}

.cta-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.1);
    animation: float-cta 25s infinite ease-in-out;
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    animation-delay: -10s;
}

.cta-shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    animation-delay: -20s;
}

@keyframes float-cta {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(50px, -50px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

.enterprise-final-cta .container {
    position: relative;
    z-index: 1;
}

/* Enhanced Member Section */
.enterprise-member {
    position: relative;
}

.section-background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.02) 0%, transparent 50%, rgba(76, 175, 80, 0.02) 100%);
    pointer-events: none;
}

.enterprise-member .container {
    position: relative;
    z-index: 1;
}

/* Enhanced Comparison Box */
.enterprise-comparison {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44, 62, 80, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.enterprise-comparison .comparison-row:not(.header):hover {
    background: rgba(76, 175, 80, 0.05);
    transform: translateX(4px);
    transition: all 0.3s ease;
}

/* Enhanced Benefit Items */
.enterprise-benefit {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.enterprise-benefit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #4caf50, #81c784);
    transition: height 0.4s ease;
}

.enterprise-benefit:hover::after {
    height: 100%;
}

.enterprise-benefit:hover {
    transform: translateX(8px) translateY(-4px);
    box-shadow: 0 12px 32px rgba(76, 175, 80, 0.15);
    background: #ffffff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info / Detail Pages (For Dentists / For Patients) */
.info-page {
    background: #ffffff;
}

.info-hero {
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #2c3e50 0%, #4caf50 100%);
    color: #ffffff;
}

.info-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.info-hero-inner[style*="grid-template-columns: 1fr"] {
    justify-items: center;
    text-align: center;
}

.info-hero-copy h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.info-hero-body {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.info-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.info-hero-right {
    display: flex;
    justify-content: flex-end;
}

.info-hero-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    max-width: 420px;
}

.info-hero-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.98rem;
}

.bullet-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #4caf50;
}

.info-section {
    padding: 70px 20px;
    background: #ffffff;
}

.info-section.alt {
    background: #f8f9fa;
}

.info-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.info-grid.two-col {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    border-top: 3px solid #4caf50;
}

.info-card h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.info-card p {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.7;
}

.info-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.info-steps.how-it-works-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.info-step {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.info-step-number {
    font-size: 1rem;
    font-weight: 700;
    color: #4caf50;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

.info-steps.how-it-works-steps .info-step-number {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.info-step h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.info-steps.how-it-works-steps .info-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.info-step p {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.7;
}

.info-steps.how-it-works-steps .info-step p {
    font-size: 1rem;
    line-height: 1.75;
}

.info-page .final-cta {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 1100px) {
    .nav-btn {
        padding: 0.4rem 0.95rem;
        font-size: 0.875rem;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
}

@media (max-width: 968px) {
    .nav-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .primary-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .nav-actions {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .nav-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .title-line {
        display: block;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .stat-number,
    .stat-suffix {
        font-size: 2.5rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .value-prop-header-container {
        margin-bottom: 3.5rem;
    }
    
    .value-prop-header-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .value-prop-badge-oval {
        margin: 0 auto;
        width: 200px;
        height: 120px;
    }
    
    .badge-text-line {
        font-size: 0.85rem;
    }
    
    .value-prop-title {
        font-size: 2.25rem;
    }
    
    .value-prop-description-text {
        font-size: 1.1rem;
        margin: 0 auto 1.5rem;
    }
    
    .value-benefits-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 0.75rem;
    }
    
    .section-badge {
        padding: 0.5rem 1.25rem;
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }
    
    .section-image {
        margin-bottom: 2rem;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-row.header {
        display: none;
    }
    
    .comparison-cell {
        padding: 0.75rem;
    }
    
    .comparison-cell:before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: #2c3e50;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .brand {
        flex-shrink: 0;
    }
    
    .brand-logo {
        height: 50px;
    }
    
    .nav-menu-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(44, 62, 80, 0.1);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        z-index: 100;
    }
    
    .nav-menu-wrapper.active {
        max-height: 1000px;
        opacity: 1;
        padding: 1.5rem 1rem;
    }
    
    .primary-nav {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .primary-nav li {
        width: 100%;
    }
    
    .primary-nav li a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: 6px;
        border-bottom: none;
    }
    
    .primary-nav li a:hover {
        background-color: rgba(76, 175, 80, 0.1);
        border-bottom: none;
    }
    
    .main-nav .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        margin: 0.5rem 0 0 1rem;
        padding: 0;
        background: rgba(76, 175, 80, 0.05);
        border-radius: 6px;
    }
    
    .main-nav .nav-dropdown.active .nav-dropdown-menu {
        transform: none;
    }
    
    .main-nav .nav-dropdown-menu li a {
        padding: 0.6rem 1rem;
        border-radius: 0;
    }
    
    .main-nav .nav-dropdown-menu li:first-child a {
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }
    
    .main-nav .nav-dropdown-menu li:last-child a {
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }
    
    .nav-actions .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin: 0.5rem 0 0 0;
        padding: 0;
        background: rgba(76, 175, 80, 0.05);
        border-radius: 6px;
    }
    
    .nav-actions .nav-dropdown.active .nav-dropdown-menu {
        transform: none;
    }
    
    .nav-actions .nav-dropdown-menu li a {
        padding: 0.6rem 1rem;
        border-radius: 0;
    }
    
    .nav-actions .nav-dropdown-menu li:first-child a {
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }
    
    .nav-actions .nav-dropdown-menu li:last-child a {
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    
    .info-hero-inner {
        grid-template-columns: 1fr;
    }
    
    .info-hero-right {
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-container {
        margin: 2rem 1rem;
        border-radius: 12px;
    }
    
    .auth-form {
        padding: 1.75rem 1.5rem 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* How It Works page responsive */
    .info-page-how-it-works .info-grid[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    .info-steps.how-it-works-steps {
        grid-template-columns: 1fr !important;
    }
    
    .info-page-how-it-works [style*="grid-template-columns: 2fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    .info-page-how-it-works [style*="grid-template-columns: 2fr 1fr 1fr"] > div:first-child {
        font-weight: 600;
        color: #2c3e50;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #e0e0e0;
        margin-bottom: 0.5rem;
    }
    
    .info-page-how-it-works [style*="grid-template-columns: 2fr 1fr 1fr"] > div:not(:first-child) {
        padding-left: 1rem;
    }
}

/* How It Works steps responsive */
@media (min-width: 1200px) {
    .info-steps.how-it-works-steps {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .info-steps.how-it-works-steps {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1200px) {
    .info-page-how-it-works .info-grid[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
        display: grid !important;
    }
}

/* Plans Management Styles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.page-header h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0;
}

.page-subtitle {
    color: #7f8c8d;
    margin: 0.5rem 0 0 0;
    font-size: 1rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.btn-back:hover {
    background-color: #f8f9fa;
    color: #4caf50;
}

.btn svg {
    vertical-align: middle;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.plan-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.plan-card.active {
    border-color: #4caf50;
}

.plan-card.inactive {
    opacity: 0.7;
    border-color: #ddd;
}

.plan-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.plan-name {
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.plan-price .currency {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
}

.plan-price .amount {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.plan-price .period {
    font-size: 0.875rem;
    color: #7f8c8d;
    font-weight: 400;
}

.plan-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.plan-details {
    margin-bottom: 1.5rem;
}

.plan-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #7f8c8d;
    font-size: 0.875rem;
}

.plan-detail-item svg {
    color: #4caf50;
}

.plan-card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.badge-inactive {
    background-color: #f5f5f5;
    color: #757575;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.empty-state svg {
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

/* Form Container */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.plan-form {
    margin-top: 1rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
}

.form-section h2 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4caf50;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #7f8c8d;
    font-size: 0.875rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-weight: 500;
}

.input-with-icon input {
    padding-left: 2rem;
}

.checkbox-group {
    margin-bottom: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #4caf50;
}

.checkbox-label span {
    flex: 1;
    color: #2c3e50;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-success {
    background-color: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

.alert-error {
    background-color: #ffebee;
    border-color: #f44336;
    color: #c62828;
}

.alert-info {
    background-color: #e3f2fd;
    border-color: #2196f3;
    color: #1565c0;
}

.alert-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.btn-warning {
    background-color: #ff9800;
    color: white;
}

.btn-warning:hover {
    background-color: #f57c00;
}

.btn-success {
    background-color: #4caf50;
    color: white;
}

.btn-success:hover {
    background-color: #45a049;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Service Builder Styles */
.service-builder {
    margin-top: 1.5rem;
}

.service-builder-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.service-panel {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
}

.service-panel h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.service-list {
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
}

.service-list.drop-zone {
    border: 2px dashed #ddd;
    border-radius: 6px;
    padding: 1rem;
    transition: all 0.2s;
}

.service-list.drop-zone.drag-over {
    border-color: #4caf50;
    background-color: #e8f5e9;
}

.service-category {
    margin-bottom: 1.5rem;
}

.service-category:last-child {
    margin-bottom: 0;
}

.category-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.service-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: move;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-item:hover {
    border-color: #4caf50;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-item.draggable {
    cursor: grab;
}

.service-item.draggable:active {
    cursor: grabbing;
}

.service-item.covered {
    cursor: default;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
}

.service-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.service-name {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
}

.service-code {
    font-size: 0.75rem;
    color: #7f8c8d;
    font-family: monospace;
}

.drag-handle {
    color: #7f8c8d;
    flex-shrink: 0;
}

.service-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.btn-remove-service {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-remove-service:hover {
    background-color: #ffebee;
}

.service-coverage-config {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e0e0;
}

.coverage-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.coverage-field label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
}

.coverage-field input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.coverage-field input:focus {
    outline: none;
    border-color: #4caf50;
}

.coverage-field small {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin: 0;
}

.input-suffix {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 0.9rem;
}

.coverage-field .input-with-icon {
    position: relative;
}

.coverage-field .input-with-icon input {
    padding-right: 2.5rem;
}

.empty-drop-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
    color: #7f8c8d;
}

.empty-drop-zone svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-drop-zone p {
    margin: 0;
    font-size: 0.9rem;
}

.section-description {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Responsive Service Builder */
@media (max-width: 968px) {
    .service-builder-panels {
        grid-template-columns: 1fr;
    }
    
    .service-coverage-config {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-panel {
        padding: 1rem;
    }
    
    .service-list {
        min-height: 300px;
        max-height: 400px;
    }
}

/* Delete Warning Styles */
.delete-warning {
    padding: 1rem 0;
}

.warning-header {
    text-align: center;
    margin-bottom: 2rem;
}

.warning-header svg {
    margin-bottom: 1rem;
}

.warning-header h2 {
    color: #f44336;
    font-size: 1.5rem;
    margin: 0;
}

.plan-info-box {
    background: #f8f9fa;
    border-left: 4px solid #4caf50;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.plan-info-box h3 {
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.plan-details-inline {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.subscription-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.warning-message {
    margin-bottom: 1.5rem;
}

.warning-message strong {
    color: #856404;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.warning-message p {
    color: #856404;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.warning-note {
    font-style: italic;
    margin-top: 1rem !important;
}

.subscriptions-list h4 {
    color: #856404;
    margin: 1.5rem 0 1rem 0;
    font-size: 1rem;
}

.members-table {
    overflow-x: auto;
}

.members-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 6px;
    overflow: hidden;
}

.members-table thead {
    background: #f8f9fa;
}

.members-table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.875rem;
    border-bottom: 2px solid #e0e0e0;
}

.members-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
    font-size: 0.875rem;
}

.members-table tbody tr:last-child td {
    border-bottom: none;
}

.members-table tbody tr:hover {
    background: #f8f9fa;
}

.no-subscriptions-message {
    background: #e8f5e9;
    border: 2px solid #4caf50;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.no-subscriptions-message p {
    color: #2e7d32;
    margin: 0;
    font-weight: 500;
}

.delete-form {
    margin-top: 2rem;
}

.btn-danger {
    background-color: #f44336;
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background-color: #d32f2f;
}

.btn-danger:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.plan-warning {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #856404;
}

.plan-warning svg {
    flex-shrink: 0;
    color: #ffc107;
}

/* Responsive Delete Warning */
@media (max-width: 768px) {
    .members-table {
        font-size: 0.8rem;
    }
    
    .members-table th,
    .members-table td {
        padding: 0.5rem;
    }
    
    .plan-details-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .plan-details-inline span:nth-child(2) {
        display: none;
    }
}

/* Plans Section Styles */
.plans-section {
    margin-bottom: 3rem;
}

.plans-section:last-child {
    margin-bottom: 0;
}

.inactive-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.section-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.inactive-section .section-title {
    color: #7f8c8d;
}

.inactive-section .section-description {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-info {
    background-color: #17a2b8;
    color: white;
}

.btn-info:hover {
    background-color: #138496;
}

/* Plan Card Actions - Responsive */
@media (max-width: 768px) {
    .plan-card-actions {
        flex-direction: column;
    }
    
    .plan-card-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Members Management Styles */
.members-table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background-color: #f8f9fa;
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e0e0e0;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
}

.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.member-name {
    font-weight: 600;
    color: #2c3e50;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.table-actions .btn {
    white-space: nowrap;
}

.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.member-form {
    margin-top: 1rem;
}

.member-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.member-info-card,
.subscription-info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.card-header h2 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #7f8c8d;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
}

.info-value {
    color: #2c3e50;
    text-align: right;
    flex: 1;
}

.subscription-details {
    display: flex;
    flex-direction: column;
}

.subscription-plan {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.subscription-plan h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.subscription-price {
    font-size: 1.75rem;
    font-weight: 700;
    opacity: 0.95;
}

.card-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.no-subscription {
    text-align: center;
    padding: 3rem 2rem;
    color: #7f8c8d;
}

.no-subscription svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-subscription p {
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
}

.no-subscription small {
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .member-details-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .table-actions {
        flex-direction: column;
    }
    
    .table-actions .btn {
        width: 100%;
    }
    
    .header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .info-value {
        text-align: left;
    }
}

/* Payment History Styles */
.payment-history-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 2rem;
}

.payment-count {
    color: #7f8c8d;
    font-size: 0.875rem;
    font-weight: 500;
}

.payment-history-table {
    margin-top: 1.5rem;
}

.payment-date {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payment-date strong {
    color: #2c3e50;
    font-size: 0.95rem;
}

.payment-date small {
    color: #7f8c8d;
    font-size: 0.8rem;
}

.payment-amount {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

.transaction-id {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    background-color: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #555;
}

.badge-danger {
    background-color: #ffebee;
    color: #c62828;
}

.badge-warning {
    background-color: #fff3e0;
    color: #e65100;
}

.text-muted {
    color: #7f8c8d;
    font-style: italic;
}

.no-payments {
    text-align: center;
    padding: 3rem 2rem;
    color: #7f8c8d;
}

.no-payments svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-payments p {
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
}

.no-payments small {
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .payment-history-table {
        overflow-x: auto;
    }
    
    .payment-date {
        min-width: 120px;
    }
}

/* Subscriptions Management Styles */
.filter-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
}

.filter-group label {
    font-weight: 500;
    color: #2c3e50;
    white-space: nowrap;
}

.filter-group select {
    flex: 1;
    padding: 0.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
}

.subscriptions-table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.member-info strong {
    color: #2c3e50;
}

.member-info small {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.plan-name {
    font-weight: 500;
    color: #2c3e50;
}

.price-amount {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

.price-amount-large {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.5rem;
}

.next-billing {
    font-weight: 500;
    color: #4caf50;
}

.subscription-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.subscription-info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.member-link {
    color: #4caf50;
    text-decoration: none;
    font-weight: 600;
}

.member-link:hover {
    text-decoration: underline;
}

.payment-history-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.payment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.payment-item {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #4caf50;
}

.payment-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.payment-item-header .payment-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
}

.payment-item-header .payment-date {
    color: #7f8c8d;
    font-size: 0.875rem;
}

.payment-item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.payment-plan {
    color: #555;
    font-size: 0.9rem;
}

.payment-transaction {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e0e0e0;
}

.payment-transaction small {
    color: #7f8c8d;
    font-family: 'Courier New', monospace;
}

.subscription-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.subscription-summary h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.1rem;
}

.cancel-form {
    margin-top: 1rem;
}

.alert-warning {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
    color: #e65100;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.btn-link {
    background: none;
    border: none;
    color: #4caf50;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
}

.btn-link:hover {
    color: #45a049;
}

@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
        min-width: 100%;
    }
    
    .subscription-details-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .payment-item-details {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Dentist Sidebar Navigation */
.dentist-layout-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #f5f5f5;
    position: relative;
    width: 100%;
}

.dentist-sidebar {
    width: 260px;
    background-color: #2c3e50;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-brand {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand .brand-link {
    display: block;
}

.sidebar-brand .brand-logo {
    max-width: 140px;
    height: auto;
}

.dentist-sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.dentist-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.dentist-sidebar-menu li {
    margin: 0;
}

.dentist-sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dentist-sidebar-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.dentist-sidebar-menu li a.active {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border-left-color: #4caf50;
    font-weight: 600;
}

.dentist-sidebar-menu li a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sidebar-actions {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-action-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #4caf50;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sidebar-action-link:hover {
    background-color: rgba(76, 175, 80, 0.1);
    color: #45a049;
}

.sidebar-action-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.consumer-code {
    text-align: center;
}

.consumer-code strong {
    color: #4caf50;
    font-weight: 600;
}

.dentist-main-content {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    background-color: #f5f5f5;
    overflow: hidden;
}

.dentist-main-content main {
    flex: 1;
    background-color: #f5f5f5;
    padding: 0 !important;
    margin: 0 !important;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 0;
    display: block;
    visibility: visible;
    -webkit-overflow-scrolling: touch;
}

/* Member Sidebar Layout - Similar to Dentist */
.member-layout-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #f5f5f5;
    position: relative;
    width: 100%;
}

.member-sidebar {
    width: 260px;
    background-color: #2c3e50;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.member-sidebar .sidebar-brand {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.member-sidebar .sidebar-brand .brand-link {
    display: block;
}

.member-sidebar .sidebar-brand .brand-logo {
    max-width: 140px;
    height: auto;
}

.member-sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.member-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.member-sidebar-menu li {
    margin: 0;
}

.member-sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.member-sidebar-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.member-sidebar-menu li a.active {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border-left-color: #4caf50;
    font-weight: 600;
}

.member-sidebar-menu li a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.member-sidebar .sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.member-sidebar .sidebar-footer a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.member-main-content {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    background-color: #f5f5f5;
    overflow: hidden;
}

.member-main-content main {
    flex: 1;
    background-color: #f5f5f5;
    padding: 0 !important;
    margin: 0 !important;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 0;
    display: block;
    visibility: visible;
    -webkit-overflow-scrolling: touch;
}

.member-main-content .container {
    max-width: 100%;
    width: 100%;
    padding: 2rem;
}

.dentist-top-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.top-header-left .powered-by {
    margin: 0;
    font-size: 0.875rem;
    color: #7f8c8d;
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-link {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.header-link:hover {
    color: #4caf50;
}

.header-link small {
    display: block;
    font-size: 0.75rem;
    color: #7f8c8d;
    font-weight: 400;
}

.user-dropdown {
    position: relative;
    cursor: pointer;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    font-size: 0.875rem;
    font-weight: 500;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-top: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
    border: 1px solid #e0e0e0;
}

.user-dropdown.active .user-dropdown-menu,
.user-dropdown:hover .user-dropdown-menu {
    display: block;
}

.user-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.user-dropdown-menu a:hover {
    background: #f5f5f5;
    color: #4caf50;
}

/* Dropdown Navigation Styles */
.dentist-primary-nav .nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    position: relative;
    cursor: pointer;
}

.nav-dropdown-toggle .dropdown-arrow {
    margin-left: 4px;
    transition: transform 0.2s;
    width: 14px;
    height: 14px;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-top: 4px;
    list-style: none;
    padding: 8px 0;
    z-index: 1000;
    border: 1px solid #e0e0e0;
}

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

.nav-dropdown.active .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
    border-radius: 0;
}

.nav-dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #4caf50;
}

.nav-dropdown-menu li a.active {
    background: #e8f5e9;
    color: #4caf50;
    font-weight: 600;
}

.nav-dropdown-menu li a svg {
    width: 16px;
    height: 16px;
    color: #7f8c8d;
}

.nav-dropdown-menu li a:hover svg,
.nav-dropdown-menu li a.active svg {
    color: #4caf50;
}

.dentist-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
}

.user-info svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.user-name {
    color: #ffffff;
    font-weight: 500;
}

.nav-btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-btn-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.nav-btn-link svg {
    width: 16px;
    height: 16px;
}

.dentist-nav .nav-btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.dentist-nav .nav-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}


/* Dentist Main Content Container */
.dentist-main-content .container {
    padding: 2rem;
    max-width: 100%;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

/* Make form-container and page-header span full width in dentist-main-content */
.dentist-main-content .form-container {
    max-width: 100% !important;
    width: 100%;
    margin: 0;
}

.dentist-main-content .page-header {
    max-width: 100% !important;
    width: 100%;
    margin: 0 0 2rem 0;
}

/* Responsive Dentist Sidebar */
@media (max-width: 1024px) {
    .dentist-sidebar {
        width: 220px;
    }
    
    .dentist-main-content {
        margin-left: 220px;
    }
    
    .top-header-right {
        gap: 1rem;
    }
    
    .header-link small {
        display: none;
    }
}

@media (max-width: 768px) {
    .dentist-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .dentist-sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .dentist-main-content {
        margin-left: 0;
    }
    
    .top-header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .top-header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .dentist-main-content .container {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .dentist-main-content .container {
        padding: 1rem;
    }
    
    .top-header-left .powered-by {
        font-size: 0.75rem;
    }
    
    .header-link {
        font-size: 0.75rem;
    }
    
    .user-greeting {
        font-size: 0.75rem;
    }
}

/* Responsive Member Sidebar */
@media (max-width: 1024px) {
    .member-sidebar {
        width: 220px;
    }
    
    .member-main-content {
        margin-left: 220px;
    }
}

@media (max-width: 768px) {
    .member-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .member-sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .member-main-content {
        margin-left: 0;
    }
    
    .member-main-content .container {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .member-main-content .container {
        padding: 1rem;
    }
}

/* =========================================================
   Public Main Navigation (Marketing Site) - Brand-aligned
   ========================================================= */

.main-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.main-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.9rem 1.5rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.main-nav .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.main-nav .brand-logo {
    height: 75px;
    width: auto;
}

.brand-tagline {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #7f8c8d;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex: 1;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.16s ease, transform 0.16s ease;
}

.primary-nav > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: #4caf50;
    transition: width 0.2s ease;
}

.primary-nav > li > a:hover,
.primary-nav > li > a:focus {
    color: #1b2836;
}

.primary-nav > li > a:hover::after,
.primary-nav > li > a:focus::after,
.primary-nav > li > a.active::after {
    width: 100%;
}

.primary-nav > li > a.active {
    color: #1b2836;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
}

.main-nav .dropdown-arrow {
    width: 12px;
    height: 12px;
    stroke-width: 2;
    margin-left: 2px;
    transition: transform 0.18s ease;
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.main-nav .nav-dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #d0d7de;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.main-nav .nav-dropdown-menu li a {
    color: #2c3e50;
}

.main-nav .nav-dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #2c3e50;
}

.main-nav .nav-dropdown-menu li a.active {
    background-color: #e8f5e9;
    color: #2c3e50;
}

/* Align dropdown in nav actions to the right edge */
.nav-actions .nav-dropdown-menu {
    left: auto;
    right: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.45rem 1.05rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav-btn-primary {
    background-color: #4caf50;
    border-color: #4caf50;
    color: #ffffff;
}

.nav-btn-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
}

.nav-btn-ghost {
    background-color: transparent;
    border-color: rgba(44, 62, 80, 0.2);
    color: #2c3e50;
}

.nav-btn-ghost:hover {
    background-color: #f5f5f5;
    border-color: rgba(44, 62, 80, 0.35);
}

/* Mobile nav toggle */
.mobile-menu-toggle {
    display: none;
    background-color: transparent;
    border: 1px solid #d0d7de;
    border-radius: 999px;
    padding: 0.35rem 0.45rem;
    cursor: pointer;
    color: #2c3e50;
}

.mobile-menu-toggle svg {
    width: 22px;
    height: 22px;
}

/* Mobile layout behaviour */
@media (max-width: 960px) {
    .main-nav .nav-inner {
        padding: 0.75rem 1rem;
    }

    .nav-right {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #e0e0e0;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.25rem 1.25rem;
        gap: 1.25rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.2s ease;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

    .main-nav.menu-open .nav-right {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        width: 100%;
    }

    .primary-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        width: 100%;
    }

    .primary-nav > li {
        width: 100%;
    }

    .primary-nav > li > a {
        width: 100%;
        justify-content: space-between;
        padding: 0.6rem 0;
    }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0.25rem 0 0.5rem;
    }

    .nav-actions {
        flex-wrap: wrap;
        width: 100%;
        justify-content: flex-start;
    }

    .nav-actions .nav-btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }
}

@media (max-width: 640px) {
    .main-nav .brand-logo {
        height: 30px;
    }

    .brand-tagline {
        display: none;
    }

    .nav-btn {
        font-size: 0.85rem;
    }
}

/* Dashboard Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
    gap: 2rem;
}

.dashboard-header > div:first-child {
    flex: 1;
}

.dashboard-header h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.dashboard-search {
    flex-shrink: 0;
}

.search-form {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    min-width: 300px;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: #2c3e50;
}

.search-button {
    padding: 0.75rem 1rem;
    background: #4caf50;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.search-button:hover {
    background: #45a049;
}

.quick-actions-header {
    display: flex;
    gap: 1rem;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.stat-card.stat-primary {
    border-left-color: #4caf50;
}

.stat-card.stat-success {
    border-left-color: #4caf50;
}

.stat-card.stat-warning {
    border-left-color: #2c3e50;
}

.stat-card.stat-info {
    border-left-color: #2c3e50;
}

.stat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.stat-card.stat-success .stat-icon {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.stat-card.stat-warning .stat-icon {
    background-color: rgba(44, 62, 80, 0.1);
    color: #2c3e50;
}

.stat-card.stat-info .stat-icon {
    background-color: rgba(44, 62, 80, 0.1);
    color: #2c3e50;
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 0.875rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    line-height: 1;
}

.stat-change {
    font-size: 0.875rem;
    color: #7f8c8d;
    margin: 0;
}

.change-positive {
    color: #4caf50;
    font-weight: 600;
}

.change-negative {
    color: #f44336;
    font-weight: 600;
}

.stat-link {
    color: #4caf50;
    text-decoration: none;
    font-weight: 500;
}

.stat-link:hover {
    text-decoration: underline;
}

.dashboard-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

/* Dentist layout section headers span full width */
.dentist-main-content .section-header {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.section-link {
    color: #4caf50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.section-link:hover {
    text-decoration: underline;
}

.revenue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.revenue-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.revenue-card h4 {
    font-size: 0.875rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}

.revenue-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.revenue-card small {
    color: #7f8c8d;
    font-size: 0.875rem;
}

/* Membership Performance Styles */
.membership-performance .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.section-subtitle {
    font-size: 0.875rem;
    color: #7f8c8d;
    margin: 0;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header h2 svg {
    width: 20px;
    height: 20px;
    color: #4caf50;
}

.performance-summary {
    margin-bottom: 1.5rem;
}

.summary-bar {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #2c3e50;
}

.summary-bar strong {
    font-weight: 600;
    color: #2c3e50;
}

.performance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.performance-card {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.performance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.performance-header h3 {
    font-size: 1rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.performance-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.performance-arrow.up {
    color: #4caf50;
}

.performance-arrow.down {
    color: #f44336;
}

.performance-arrow svg {
    width: 24px;
    height: 24px;
}

.performance-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.detail-item .label {
    color: #7f8c8d;
}

.detail-item .value {
    color: #2c3e50;
    font-weight: 600;
}

.performance-note {
    font-size: 0.875rem;
    color: #7f8c8d;
    margin: 1rem 0 0 0;
    font-style: italic;
}

/* Member Status Styles */
.member-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.member-status-card .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.date-range {
    font-size: 0.875rem;
    color: #7f8c8d;
    margin: 0;
}

.member-status-content {
    margin-top: 1rem;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.status-header svg {
    width: 20px;
    height: 20px;
    color: #4caf50;
}

.status-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item.inactive {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #7f8c8d;
    font-weight: 500;
}

.stat-value {
    font-size: 1.25rem;
    color: #2c3e50;
    font-weight: 700;
}

.stat-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    font-size: 0.875rem;
    color: #7f8c8d;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.2s ease;
}

.quick-action-card:hover {
    border-color: #4caf50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.quick-action-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.quick-action-card h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-weight: 600;
}

.quick-action-card p {
    font-size: 0.875rem;
    color: #7f8c8d;
    margin: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #4caf50;
}

.recent-item-info {
    flex: 1;
}

.recent-item-info strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.recent-item-info small {
    color: #7f8c8d;
    font-size: 0.875rem;
}

.recent-item-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.recent-date {
    color: #7f8c8d;
    font-size: 0.875rem;
    white-space: nowrap;
}

.recent-amount {
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
}

.empty-state-small {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
}

.empty-state-small a {
    color: #4caf50;
    text-decoration: none;
    font-weight: 500;
}

.empty-state-small a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .revenue-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    @media (max-width: 640px) {
        .quick-actions-grid {
            grid-template-columns: 1fr;
        }
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .recent-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .recent-item-meta {
        width: 100%;
        justify-content: space-between;
    }
}

/* Staff Management Styles */
.staff-table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.staff-name {
    font-weight: 600;
    color: #2c3e50;
}

.permission-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge-info {
    background-color: #e3f2fd;
    color: #1976d2;
}

.badge-secondary {
    background-color: #f5f5f5;
    color: #616161;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.permission-item {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.2s;
}

.permission-item:hover {
    border-color: #4caf50;
}

.permission-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    margin: 0;
}

.permission-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.permission-content {
    flex: 1;
}

.permission-content strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.permission-content small {
    display: block;
    color: #7f8c8d;
    font-size: 0.875rem;
    line-height: 1.4;
}

.section-description {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .permission-grid {
        grid-template-columns: 1fr;
    }
    
    .permission-badges {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Practice Settings Styles */
.practice-settings-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.settings-tabs-nav {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    background: #f8f9fa;
}

.tab-link {
    padding: 1rem 2rem;
    text-decoration: none;
    color: #7f8c8d;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.tab-link:hover {
    color: #2c3e50;
    background: white;
}

.tab-link.active {
    color: #4caf50;
    border-bottom-color: #4caf50;
    background: white;
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

.practice-form {
    max-width: 800px;
}

.logo-preview {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.current-logo {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-note {
    margin-top: 0.5rem;
    color: #7f8c8d;
    font-size: 0.875rem;
}

.locations-header,
.dentists-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.location-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.location-card:hover {
    border-color: #4caf50;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.location-card.primary {
    border-color: #4caf50;
    background: #f1f8f4;
}

.location-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.location-card-header h3 {
    margin: 0;
    color: #2c3e50;
}

.location-card-body p {
    margin: 0.5rem 0;
    color: #555;
}

.location-card-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

@media (max-width: 768px) {
    .settings-tabs-nav {
        flex-direction: column;
    }
    
    .tab-link {
        padding: 0.75rem 1rem;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-header,
    .dentists-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Service Usage Tracking Styles */
.service-usage-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.service-coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.service-coverage-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
    transition: box-shadow 0.2s;
}

.service-coverage-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-usage-table-container {
    margin-top: 1.5rem;
    overflow-x: auto;
}

.service-date {
    display: flex;
    flex-direction: column;
}

.service-date strong {
    font-size: 14px;
    color: #2c3e50;
}

.service-date small {
    color: #7f8c8d;
    font-size: 11px;
    margin-top: 2px;
}

.no-service-usage {
    text-align: center;
    padding: 3rem 2rem;
    color: #95a5a6;
}

.service-usage-form {
    max-width: 700px;
}

.service-usage-form .form-section {
    margin-bottom: 2rem;
}

.service-usage-form .info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.service-usage-form .info-row:last-child {
    border-bottom: none;
}

.service-usage-form .info-label {
    font-weight: 600;
    color: #7f8c8d;
}

.service-usage-form .info-value {
    color: #2c3e50;
}

/* Reports Page Styles */
.reports-container {
    margin-top: 2rem;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.report-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.report-icon {
    color: #4caf50;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.report-card h3 {
    color: #2c3e50;
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
}

.report-card p {
    color: #7f8c8d;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #ecf0f1;
}

.modal-header h2 {
    margin: 0;
    color: #2c3e50;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #95a5a6;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #ecf0f1;
}

.modal-body {
    padding: 1.5rem;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    margin: 0;
}

.report-table-container {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.report-summary {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .reports-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        max-width: 95%;
        margin: 1rem;
    }
}

/* Resource Center Styles */
.resources-container {
    margin-top: 2rem;
}

.resource-section {
    margin-bottom: 3rem;
}

.resource-section h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
}

.section-description {
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-size: 16px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.resource-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.resource-card h3 {
    color: #2c3e50;
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
}

.resource-price {
    font-size: 1.5rem;
    color: #4caf50;
    font-weight: bold;
    margin: 0.5rem 0;
}

.resource-description {
    color: #7f8c8d;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .resource-grid {
        grid-template-columns: 1fr;
    }
}

/* Member Navigation Styles */
.member-nav {
    width: 100%;
    background-color: #536374;
    color: #ffffff;
}

.member-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.75rem 20px;
}

.member-primary-nav {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex: 1;
    margin: 0 2rem;
}

.member-primary-nav li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.member-primary-nav li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.member-primary-nav li a.active {
    background-color: #4caf50;
    color: #ffffff;
}

.member-primary-nav li a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.member-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .member-nav .nav-inner {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .member-primary-nav {
        order: 3;
        width: 100%;
        margin: 0;
        justify-content: space-around;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-wrap: wrap;
    }
    
    .member-nav-actions {
        flex: 1;
        justify-content: flex-end;
    }
    
    .member-primary-nav li a {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Onboarding Styles */
.onboarding-container {
    min-height: calc(100vh - 200px);
    background: #f8f9fa;
    padding: 2rem 0;
}

.onboarding-header {
    background: linear-gradient(135deg, #2c3e50 0%, #4caf50 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.onboarding-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.onboarding-subtitle {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.onboarding-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    gap: 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.progress-step .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: white;
    color: #4caf50;
    transform: scale(1.1);
}

.progress-step.completed .step-number {
    background: #4caf50;
    color: white;
}

.progress-step .step-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    opacity: 1;
    font-weight: 600;
}

.progress-line {
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.progress-line.completed {
    background: white;
}

.onboarding-step {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.step-content h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.recommendation-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.recommendation-box h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.recommendation-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommendation-box li {
    padding: 0.5rem 0;
    color: #555;
    line-height: 1.6;
}

.recommendation-box li strong {
    color: #2c3e50;
}

.onboarding-form .form-section {
    margin-bottom: 2rem;
}

.onboarding-form .form-group {
    margin-bottom: 1.5rem;
}

.onboarding-form label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.onboarding-form input[type="text"],
.onboarding-form input[type="number"],
.onboarding-form textarea {
    width: 100%;
    padding: 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.onboarding-form input:focus,
.onboarding-form textarea:focus {
    outline: none;
    border-color: #4caf50;
}

.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.price-input-wrapper .currency {
    position: absolute;
    left: 0.5rem;
    color: #555;
    font-weight: 600;
    z-index: 1;
    pointer-events: none;
}

.price-input-wrapper input {
    padding-left: 3.5rem;
}

.onboarding-form small {
    display: block;
    color: #7f8c8d;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.service-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.service-checkbox {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.2s ease;
}

.service-checkbox.recommended {
    border-color: #4caf50;
    background: #f1f8f4;
}

.service-checkbox label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.service-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.service-name {
    flex: 1;
    font-weight: 500;
    color: #2c3e50;
}

.recommended-badge {
    background: #4caf50;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.coverage-input {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e0e0;
}

.coverage-input label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.coverage-input input {
    width: auto;
    display: inline-block;
    margin-left: 0.5rem;
}

.onboarding-step .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.onboarding-step .form-actions-left,
.onboarding-step .form-actions-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.onboarding-step .form-actions-left {
    justify-content: flex-start;
}

.onboarding-step .form-actions-right {
    justify-content: flex-end;
}

.continue-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.continue-actions-left,
.continue-actions-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.continue-actions-left {
    justify-content: flex-start;
}

.continue-actions-right {
    justify-content: flex-end;
}

.existing-items {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.existing-items h3,
.existing-items h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.items-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.item-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    transition: box-shadow 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.item-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.item-actions {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-danger {
    background: #e74c3c;
    color: white;
    border: none;
}

.btn-danger:hover {
    background: #c0392b;
}

.item-info strong {
    color: #2c3e50;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-info p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.875rem;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    background: #4caf50;
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.section-divider {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.section-divider:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.section-divider h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-info .btn-small {
    margin-left: auto;
}


.completion-step {
    text-align: center;
}

.completion-icon {
    margin-bottom: 2rem;
}

.completion-step h2 {
    color: #4caf50;
    margin-bottom: 1rem;
}

.completion-message {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.created-plans-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.created-plans-summary h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.plans-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.plan-summary-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.plan-summary-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4caf50;
    margin: 0.5rem 0;
}

.plan-type {
    color: #7f8c8d;
    font-size: 0.875rem;
    text-transform: capitalize;
}

.next-steps {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.next-steps h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 0.75rem 0;
}

/* Responsive back buttons */
@media (max-width: 768px) {
    .onboarding-step .form-actions,
    .continue-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .onboarding-step .form-actions-left,
    .onboarding-step .form-actions-right,
    .continue-actions-left,
    .continue-actions-right {
        width: 100%;
        justify-content: center;
    }
    
    .onboarding-step .form-actions-left .btn,
    .continue-actions-left .btn {
        width: 100%;
    }
    
    .onboarding-step .form-actions-right,
    .continue-actions-right {
        flex-direction: column;
    }
    
    .onboarding-step .form-actions-right .btn,
    .continue-actions-right .btn {
        width: 100%;
    }
   
}

.next-steps li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: 700;
}

@media (max-width: 768px) {
    .onboarding-progress {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .progress-line {
        width: 40px;
    }
    
    .onboarding-step {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .service-selection {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* ============================================
   ARTICLES SECTION
   ============================================ */

.articles-page {
    padding: 2rem 0;
}

.articles-hero,
.category-hero,
.search-hero,
.tag-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.articles-hero h1,
.category-hero h1,
.search-hero h1,
.tag-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.articles-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.category-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 1rem auto 0;
    opacity: 0.9;
}

.search-query {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.search-count {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Filters Section */
.articles-filters {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #4caf50;
}

.search-btn {
    padding: 0.875rem 1.5rem;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
}

.search-btn:hover {
    background: #43a047;
    transform: translateY(-1px);
}

.categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.category-tag {
    padding: 0.5rem 1.25rem;
    background: white;
    border: 2px solid rgba(44, 62, 80, 0.3);
    border-radius: 25px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.category-tag:hover,
.category-tag.active {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}

/* Articles Grid */
.articles-grid-section {
    margin-bottom: 4rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: block;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #4caf50;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.article-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    line-height: 1.4;
}

.article-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: #4caf50;
}

.article-excerpt {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.article-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
    font-size: 0.8rem;
    color: #4caf50;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    font-weight: 500;
}

.article-tag:hover {
    background: #4caf50;
    color: white;
}

.article-read-more {
    color: #4caf50;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: color 0.3s;
}

.article-read-more:hover {
    color: #43a047;
}

/* Single Article View */
.article-single {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.article-header {
    margin-bottom: 3rem;
}

.article-category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #4caf50;
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.article-title-main {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.article-meta-main {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.article-author-name {
    font-weight: 600;
    color: #2c3e50;
}

.article-author-bio {
    font-size: 0.9rem;
    color: #666;
}

.article-publish-date,
.article-updated {
    font-size: 0.9rem;
    color: #888;
}

.article-featured-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-excerpt-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid #4caf50;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
}

.article-body {
    margin-bottom: 2rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-tags-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.tags-label {
    font-weight: 600;
    color: #2c3e50;
}

.article-tag-link {
    padding: 0.5rem 1rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
    text-decoration: none;
    color: #4caf50;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.article-tag-link:hover {
    background: #4caf50;
    color: white;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.share-widget,
.categories-widget,
.tags-widget {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
}

.share-widget h3,
.categories-widget h3,
.tags-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-btn {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: opacity 0.3s;
}

.share-facebook {
    background: #1877f2;
    color: white;
}

.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-linkedin {
    background: #0077b5;
    color: white;
}

.share-btn:hover {
    opacity: 0.9;
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 0.5rem;
}

.categories-list a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.categories-list a:hover {
    color: #4caf50;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud-item {
    padding: 0.5rem 0.75rem;
    background: white;
    border-radius: 4px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 0.85rem;
    transition: background 0.3s, color 0.3s;
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.tag-cloud-item:hover {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border-color: #4caf50;
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.related-articles h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.related-article-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    display: block;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-article-card h3 {
    padding: 1rem;
    margin: 0;
    font-size: 1rem;
}

.related-article-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.related-article-card h3 a:hover {
    color: #4caf50;
}

.related-article-card p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Popular Tags Section */
.popular-tags-section {
    background: #f8f9fa;
    padding: 3rem 0;
    margin-top: 4rem;
}

.popular-tags-section h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.popular-tag {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid rgba(44, 62, 80, 0.3);
    border-radius: 25px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
}

.popular-tag:hover {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: #4caf50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s;
    font-weight: 500;
}

.pagination-btn:hover {
    background: #43a047;
    transform: translateY(-1px);
}

.pagination-info {
    color: #7f8c8d;
    font-size: 0.95rem;
    font-weight: 500;
}

.no-articles {
    text-align: center;
    padding: 4rem 2rem;
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 968px) {
    .article-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .articles-hero h1,
    .category-hero h1,
    .search-hero h1,
    .tag-hero h1 {
        font-size: 2rem;
    }
    
    .article-title-main {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-search-form {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MARKETPLACE STYLES
   ============================================ */

/* Marketplace Page Container */
.marketplace-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

.marketplace-page .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
}

/* Marketplace Hero Section */
.marketplace-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 12px;
}

.marketplace-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.marketplace-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Marketplace Filters */
.marketplace-filters {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.marketplace-search-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr minmax(140px, auto);
    gap: 1.25rem;
    align-items: end;
    width: 100%;
    box-sizing: border-box;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-sizing: border-box;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 0.875rem;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    height: 44px;
    box-sizing: border-box;
    background: #fff;
    min-width: 0;
}

.filter-group input::placeholder {
    color: #999;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #4caf50;
}

.filter-group-button {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
    max-width: 100%;
}

.filter-label-hidden {
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
}

.marketplace-search-btn {
    padding: 0 24px;
    background: linear-gradient(135deg, #4caf50 0%, #43a047 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    height: 44px;
    font-size: 1rem;
    min-width: 120px;
    max-width: 100%;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
    box-sizing: border-box;
}

.marketplace-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.marketplace-search-btn:active {
    transform: translateY(0);
}

.clear-filters {
    margin-top: 1rem;
}

.clear-filters a {
    color: #4caf50;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s;
}

.clear-filters a:hover {
    color: #43a047;
}

/* Results Count */
.results-count {
    margin-bottom: 1.5rem;
    color: #7f8c8d;
    font-size: 1rem;
}

.results-count strong {
    color: #2c3e50;
}

/* Dentist Grid */
.dentist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Dentist Card */
.dentist-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.dentist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.dentist-practice-header {
    margin-bottom: 1.5rem;
}

.practice-logo {
    max-width: 120px;
    max-height: 60px;
    margin-bottom: 10px;
    object-fit: contain;
}

.practice-name {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
}

.dentist-info {
    margin-bottom: 1.5rem;
}

.dentist-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.dentist-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4caf50 0%, #43a047 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.dentist-details {
    flex: 1;
}

.dentist-name {
    margin: 0;
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
}

.location-name {
    margin: 5px 0 0 0;
    color: #7f8c8d;
    font-size: 0.875rem;
}

.location-info {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.location-address,
.location-city-state,
.location-phone {
    margin: 0 0 5px 0;
    color: #555;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-city-state {
    color: #7f8c8d;
}

.location-phone {
    margin-top: 5px;
}

.plan-count-badge {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.plan-count-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plan-count-label {
    margin: 0;
    color: #2e7d32;
    font-weight: 600;
    font-size: 0.875rem;
}

.plan-count-number {
    margin: 5px 0 0 0;
    color: #555;
    font-size: 1.1rem;
    font-weight: 700;
}

.dentist-card-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #4caf50 0%, #43a047 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dentist-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* No Dentists Found */
.no-dentists {
    text-align: center;
    padding: 4rem 2rem;
    background: #f9f9f9;
    border-radius: 12px;
}

.no-dentists svg {
    margin-bottom: 1rem;
}

.no-dentists h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.no-dentists p {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

/* ============================================
   MARKETPLACE DENTIST PROFILE PAGE
   ============================================ */

.marketplace-dentist-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.back-to-marketplace {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4caf50;
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 600;
    transition: color 0.2s;
}

.back-to-marketplace:hover {
    color: #43a047;
}

/* Dentist Profile Header */
.dentist-profile-header {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.dentist-profile-content {
    display: flex;
    gap: 2rem;
    align-items: start;
}

.practice-logo-large {
    flex-shrink: 0;
}

.practice-logo-large img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.practice-logo-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #4caf50 0%, #43a047 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
}

.dentist-profile-info {
    flex: 1;
}

.practice-name-large {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
}

.dentist-name-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.dentist-name-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-weight: 600;
}

.locations-section {
    margin-top: 1rem;
}

.locations-section h3 {
    margin: 0 0 10px 0;
    color: #555;
    font-size: 1rem;
    font-weight: 600;
}

.locations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.location-card {
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #4caf50;
}

.location-card-name {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
}

.location-card-address,
.location-card-phone {
    margin: 5px 0 0 0;
    font-size: 0.875rem;
    color: #7f8c8d;
}

/* Plans Section */
.plans-section {
    margin-bottom: 2rem;
}

.plans-section-title {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Plan Card Profile */
.plan-card-profile {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.plan-card-profile:hover {
    border-color: #4caf50;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.2);
}

.plan-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.plan-name {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
}

.family-badge {
    background: #2196F3;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.plan-price {
    margin-bottom: 1.5rem;
}

.plan-price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4caf50;
    margin-bottom: 5px;
}

.plan-price-period {
    color: #7f8c8d;
    font-size: 0.875rem;
}

.plan-description {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.plan-services {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.plan-services h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.services-list {
    margin: 0;
    padding-left: 20px;
    color: #555;
    font-size: 0.875rem;
}

.services-list li {
    margin-bottom: 5px;
}

.coverage-percentage {
    color: #4caf50;
    font-weight: 600;
}

.more-services {
    color: #7f8c8d;
    font-style: italic;
}

.family-info {
    background: #e3f2fd;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.family-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #1976D2;
}

.plan-signup-btn {
    display: block;
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, #4caf50 0%, #43a047 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.plan-signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* No Plans */
.no-plans {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.no-plans svg {
    margin-bottom: 1rem;
}

.no-plans h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.no-plans p {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

/* Sign Up CTA */
.signup-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
}

.signup-cta h2 {
    margin: 0 0 1rem 0;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.signup-cta p {
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.signup-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    padding: 14px 32px;
    background: white;
    color: #4caf50;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Marketplace Responsive Styles */
@media (max-width: 1200px) {
    .marketplace-search-form {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 1rem;
    }
    
    .filter-group-button {
        grid-column: 1 / -1;
        margin-top: 0.5rem;
    }
    
    .filter-label-hidden {
        display: none;
    }
    
    .marketplace-search-btn {
        width: 100%;
        min-width: auto;
        max-width: 300px;
    }
}

@media (max-width: 1100px) {
    .marketplace-search-form {
        grid-template-columns: 1fr 1fr;
    }
    
    .filter-group-button {
        grid-column: 1 / -1;
    }
    
    .filter-label-hidden {
        display: none;
    }
    
    .marketplace-search-btn {
        width: 100%;
        min-width: auto;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .marketplace-hero {
        padding: 3rem 1.5rem;
    }
    
    .marketplace-title {
        font-size: 2rem;
    }
    
    .marketplace-subtitle {
        font-size: 1rem;
    }
    
    .marketplace-filters {
        padding: 1.5rem;
    }
    
    .marketplace-search-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-group-button {
        grid-column: 1;
    }
    
    .filter-label-hidden {
        display: none;
    }
    
    .marketplace-search-btn {
        width: 100%;
        min-width: auto;
    }
    
    .dentist-grid {
        grid-template-columns: 1fr;
    }
    
    .dentist-profile-content {
        flex-direction: column;
    }
    
    .practice-logo-large,
    .practice-logo-placeholder {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .practice-name-large {
        font-size: 2rem;
        text-align: center;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .signup-cta {
        padding: 2rem 1.5rem;
    }
    
    .signup-cta h2 {
        font-size: 1.5rem;
    }
    
    .signup-cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
    }
}

/* Marketing visibility options styling */
.marketing-visibility-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.marketing-option-label {
    display: block;
    padding: 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.marketing-option-label:hover {
    border-color: #4caf50;
    background-color: #f9f9f9;
}

.marketing-option-label input[type="radio"] {
    margin-right: 1rem;
    margin-top: 0.25rem;
    float: left;
}

.marketing-option-label:has(input[type="radio"]:checked) {
    border-color: #4caf50;
    background-color: #f1f8f4;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.15);
}

.marketing-option-content {
    margin-left: 2rem;
}

.marketing-option-content strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 1.1rem;
}

.marketing-option-content p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Week Dropdown Styling for Payments Page */
.dentist-main-content .filter-section select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232c3e50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem !important;
    transition: all 0.3s ease;
}

.dentist-main-content .filter-section select.form-control:hover {
    border-color: rgba(76, 175, 80, 0.5) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    transform: translateY(-1px);
}

.dentist-main-content .filter-section select.form-control:focus {
    outline: none;
    border-color: rgba(76, 175, 80, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2), 0 4px 8px rgba(0,0,0,0.15) !important;
}

.dentist-main-content .filter-section select.form-control option {
    padding: 0.75rem;
    background: white;
    color: #2c3e50;
    font-weight: 500;
}

.dentist-main-content .filter-section select.form-control option:checked {
    background: #4caf50;
    color: white;
    font-weight: 600;
}
