/* Trouble St Web Application Styles */

/* Reset and Base Styles */
* {
    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: #f8f9fa;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0D6EFD;
    text-decoration: none;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-list a:hover {
    color: #0D6EFD;
}

.admin-nav {
    position: relative;
}

.admin-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 150px;
    display: none;
}

.admin-nav:hover .admin-submenu {
    display: block;
}

.admin-submenu li {
    padding: 0.5rem 1rem;
}

.admin-submenu a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}

.admin-submenu a:hover {
    color: #0D6EFD;
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
    padding: 0 0 2rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0D6EFD 0%, #198754 100%);
    color: white;
    padding: 2rem 0 3rem 0;
    text-align: center;
}

.hero-content h1,
.hero h1 {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    color: white !important;
    text-align: center !important;
    display: block !important;
    visibility: visible !important;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-subtitle,
.hero-content .hero-subtitle,
.hero .hero-subtitle {
    font-size: 1.5rem !important;
    margin-bottom: 2rem !important;
    opacity: 0.85 !important;
    font-weight: 300 !important;
    text-align: center !important;
    color: white !important;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.btn::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, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:focus {
    outline: 2px solid #0D6EFD;
    outline-offset: 2px;
}

.btn:focus:not(:focus-visible) {
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.4);
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-contact-tradie {
    background: #198754;
    color: white;
    font-weight: 600;
}

.btn-contact-tradie:hover {
    background: #157347;
    color: white;
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.card-number {
    font-size: 2rem;
    font-weight: bold;
    color: #0D6EFD;
    margin: 0.5rem 0;
}

.card-description {
    color: #666;
    margin-bottom: 1rem;
}

.premium-card {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: 2px solid #ffc107;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Features */
.features {
    margin-bottom: 3rem;
}

.features h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-card h3 {
    color: #0D6EFD;
    margin-bottom: 1rem;
}

/* Override for sidebar features */
.ts-sidebar-left .features {
    margin-bottom: 0 !important;
}

.ts-sidebar-left .features h2 {
    text-align: left !important;
    margin-bottom: 1rem !important;
}

.ts-sidebar-left .features-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.ts-sidebar-left .feature-card {
    text-align: left !important;
    padding: 1.25rem !important;
    background: #f8f9fa !important;
    box-shadow: none !important;
    border: 1px solid #e9ecef !important;
}

/* How It Works */
.how-it-works {
    margin-bottom: 3rem;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #0D6EFD;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Login Form */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
}

.login-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-form h1 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.login-form p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.login-footer p {
    margin-bottom: 0.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0D6EFD;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    margin-top: 1.5rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background: linear-gradient(135deg, #d1e7dd 0%, #c3e6cb 100%);
    color: #0f5132;
    border-left-color: #198754;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c2c7 100%);
    color: #842029;
    border-left-color: #dc3545;
}

/* Dashboard */
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    color: #333;
}

.premium-badge {
    background: #ffd700;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.875rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.recent-activity {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recent-activity h2 {
    margin-bottom: 1.25rem;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #0D6EFD;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-header h4 {
    color: #333;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.star {
    color: #ddd;
    font-size: 1.2rem;
}

.star.filled {
    color: #ffc107;
}

.review-text {
    color: #666;
    margin-bottom: 0.5rem;
}

.review-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #666;
}

/* Profile */
.profile {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.profile-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: -0.02em;
}

.profile-content {
    display: block;
    width: 100%;
    max-width: 100%;
}

.profile-form {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.upgrade-prompt {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.upgrade-prompt h4 {
    color: #0D6EFD;
    margin-bottom: 0.5rem;
}

/* Reviews */
.reviews {
    max-width: 1000px;
    margin: 0 auto;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.reviews-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.submit-review {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.review-form {
    margin-top: 1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.review-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.review-preview {
    color: #666;
    margin: 0.5rem 0;
}

/* Premium */
.premium {
    max-width: 1000px;
    margin: 0 auto;
}

.premium-header {
    text-align: center;
    margin-bottom: 2rem;
}

.premium-status {
    margin-top: 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.benefit-card h3 {
    color: #0D6EFD;
    margin-bottom: 1rem;
}

.upgrade-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.upgrade-description {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    color: #198754;
    font-weight: 500;
}

.pricing {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.pricing-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #0D6EFD;
    max-width: 300px;
}

.pricing-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #0D6EFD;
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    margin: 1rem 0;
}

.pricing-features li {
    padding: 0.25rem 0;
    color: #666;
}

.pricing-note {
    font-size: 0.875rem;
    color: #666;
    margin-top: 1rem;
}

.upgrade-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Admin Styles */
.admin-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: calc(100vh - 200px);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    color: white;
}

.admin-header h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
}

.admin-user {
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.8);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.stat-card:nth-child(1)::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.stat-card:nth-child(2)::before {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.stat-card:nth-child(3)::before {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.stat-card h3 {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-top: 0.5rem;
}

.stat-card:nth-child(2) .stat-number {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card:nth-child(3) .stat-number {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.admin-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.quick-actions {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 0;
    border: 1px solid rgba(255,255,255,0.8);
}

.quick-actions h2 {
    color: #2d3748;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.action-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    text-decoration: none;
    color: #2d3748;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.action-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.action-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15), 0 0 0 1px rgba(102, 126, 234, 0.1);
    border-color: transparent;
}

.action-card:hover::before {
    opacity: 1;
}

.action-card:hover::after {
    transform: scaleX(1);
}

.action-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.action-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5;
    transition: all 0.4s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.1) rotate(5deg);
}

.action-card-users .action-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.action-card-users .action-icon svg {
    color: #ffffff;
}

.action-card-reviews .action-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.3);
}

.action-card-reviews .action-icon svg {
    color: #ffffff;
}

.action-card-documents .action-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}

.action-card-documents .action-icon svg {
    color: #ffffff;
}

.action-card-ads .action-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 8px 20px rgba(67, 233, 123, 0.3);
}

.action-card-ads .action-icon svg {
    color: #ffffff;
}

.action-card-settings .action-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 8px 20px rgba(250, 112, 154, 0.3);
}

.action-card-settings .action-icon svg {
    color: #ffffff;
}

.action-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.action-card h3 {
    color: #1a202c;
    margin: 0 0 0.5rem 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.action-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.action-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-10px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.action-card:hover .action-arrow {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.action-card-users:hover .action-arrow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.action-card-reviews:hover .action-arrow {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}

.action-card-documents:hover .action-arrow {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.action-card-ads:hover .action-arrow {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 4px 12px rgba(67, 233, 123, 0.3);
}

.action-card-settings:hover .action-arrow {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 4px 12px rgba(250, 112, 154, 0.3);
}

.recent-activity {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
}

.recent-activity h2 {
    color: #2d3748;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    border-left: 4px solid #667eea;
}

.activity-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.activity-action {
    font-weight: 600;
    color: #667eea;
    font-size: 1rem;
}

.activity-time {
    font-size: 0.875rem;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.activity-details {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #64748b;
    flex-wrap: wrap;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-nav {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 0;
    border: 1px solid rgba(255,255,255,0.8);
}

.admin-nav h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.admin-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav-list li {
    margin-bottom: 0.5rem;
}

.admin-nav-list a {
    color: #64748b;
    text-decoration: none;
    padding: 0.875rem 1rem;
    display: block;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
    position: relative;
}

.admin-nav-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: height 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.admin-nav-list a:hover {
    color: #667eea;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    padding-left: 1.5rem;
}

.admin-nav-list a:hover::before {
    height: 60%;
}

.admin-info {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
}

.admin-info h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.info-item {
    padding: 0.75rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #2d3748;
    font-weight: 600;
}

/* Admin Pages Container */
.admin-settings,
.admin-container,
.admin-reviews,
.admin-audit,
.admin-cms,
.admin-ads,
.admin-feature {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: calc(100vh - 200px);
}

/* Admin Users - Wider container to accommodate more columns */
.admin-users {
    max-width: 95%;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: calc(100vh - 200px);
}

.admin-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Settings Page */
.settings-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.settings-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
}

.settings-section h2 {
    color: #2d3748;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #2d3748;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #2d3748;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group small {
    color: #64748b;
    font-size: 0.875rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.api-info,
.system-info,
.security-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.info-item strong {
    color: #2d3748;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.info-item code {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.api-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    color: #856404;
}

/* Users Page */
.users-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.users-filters {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
}

.users-list h2 {
    color: #2d3748;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Tables */
.users-table,
.reviews-table,
.audit-table {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.8);
}

/* Admin Users Table Wrapper - Enables horizontal scrolling when table is wider than viewport */
.admin-users-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1.25rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    font-weight: 700;
    color: #2d3748;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

tbody tr {
    transition: all 0.2s ease;
}

tbody tr:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    transform: scale(1.01);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Admin Users Actions Column - Prevent wrapping of action buttons */
.admin-users-actions {
    white-space: nowrap;
}

/* Badges */
.premium-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.standard-badge {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.status-badge.active {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
    color: white;
}

.status-badge.expired {
    background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
    color: white;
}

.action-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.action-access-denied {
    background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
    color: white;
}

.action-user-action {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.action-settings-change {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #212529;
}

/* Forms */
.search-form,
.filter-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.8);
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.search-form .form-group,
.filter-form .form-group {
    flex: 1;
    min-width: 200px;
}

.inline-form {
    display: inline-block;
}

.user-actions,
.review-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.edit-form {
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
}

.user-edit-form {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 2px solid #e2e8f0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
}

.empty-state p {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0;
}

/* Admin Card */
.admin-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.admin-card h2 {
    color: #2d3748;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Admin Dashboard Responsive */
@media (max-width: 1024px) {
    .admin-content {
        grid-template-columns: 1fr;
    }
    
    .admin-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .admin-dashboard,
    .admin-settings,
    .admin-users,
    .admin-container {
        padding: 1rem 0.5rem;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .admin-header h1 {
        font-size: 2rem;
    }
    
    .admin-user {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .quick-actions,
    .recent-activity,
    .admin-nav,
    .admin-info,
    .settings-section {
        padding: 1.5rem;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .action-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .action-icon {
        width: 56px;
        height: 56px;
    }
    
    .action-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .action-card h3 {
        font-size: 1.2rem;
    }
    
    .action-card p {
        font-size: 0.9rem;
    }
    
    .action-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* Advertisements */
.ad-container {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    padding: 1rem;
    text-align: center;
    margin: 1rem 0;
    border-radius: 6px;
}

.ad-container.adsbygoogle {
    border: none;
    background: transparent;
    padding: 0;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Error Alert Styles */
.alert {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-content {
    flex: 1;
}

.alert-dismiss {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.alert-dismiss:hover {
    opacity: 1;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c2c7 100%);
    border-left-color: #dc3545;
    color: #842029;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffecb5 100%);
    border-left-color: #ffc107;
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-left-color: #0dcaf0;
    color: #055160;
}

.alert-success {
    background: linear-gradient(135deg, #d1e7dd 0%, #c3e6cb 100%);
    border-left-color: #198754;
    color: #0f5132;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* === Homepage centering tweaks (non-breaking) === */
.hero .container,
.main .container,
.footer .container {
  margin-left: auto;
  margin-right: auto;
}

/* Center cards in "Why Choose Trouble St?" */
.features-grid {
  justify-items: center;
}
.feature-card {
  max-width: 380px;
}

/* Center the three "How It Works" steps on all breakpoints */
.how-it-works .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.how-it-works .step {
  max-width: 360px;
  width: 100%;
  text-align: center;
}

/* Responsive adjustments for How It Works */
@media (max-width: 768px) {
  .how-it-works .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .how-it-works .step {
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .how-it-works .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

/* Slightly tighten main two-column grid and keep it balanced */
.content-grid {
  grid-template-columns: minmax(0, 1.6fr) 1fr;
  column-gap: 2.5rem;
  align-items: start;
}

/* Ensure ts-layout-new overrides any content-grid styles */
.ts-content .ts-layout-new {
  display: grid !important;
  grid-template-columns: 280px 1fr 280px !important;
  gap: 2rem !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Keep ad boxes visually centered within the sidebar column */
.sidebar .ad-container {
  margin-left: auto;
  margin-right: auto;
}

/* Focus states and accessibility improvements */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #0D6EFD;
  outline-offset: 2px;
  border-radius: 2px;
}

/* High contrast focus for better visibility */
.btn:focus {
  outline: 3px solid #0D6EFD;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

/* Improve button contrast */
.btn-primary {
  background-color: #0D6EFD;
  border-color: #0D6EFD;
  color: white;
}

.btn-primary:hover {
  background-color: #0B5ED7;
  border-color: #0A58CA;
  color: white;
}

.btn-secondary {
  background-color: #6C757D;
  border-color: #6C757D;
  color: white;
}

.btn-secondary:hover {
  background-color: #5C636A;
  border-color: #565E64;
  color: white;
}

/* Improve link contrast */
a {
  color: #0D6EFD;
  text-decoration: underline;
}

a:hover {
  color: #0B5ED7;
  text-decoration: underline;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Dashboard Styles */
.dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 3rem 0 2rem;
  border-bottom: 1px solid #e9ecef;
}

.dashboard-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.dashboard-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
  margin: 0;
  font-weight: normal;
}

.dashboard-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
}

.welcome-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
  text-align: left;
}

.welcome-card h2 {
  color: #0D6EFD;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.welcome-card p {
  color: #666;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.quick-actions {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.quick-actions h2 {
  color: #333;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.action-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s;
  border: 1px solid #e9ecef;
}

.action-card:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.action-card h3 {
  color: #0D6EFD;
  margin-bottom: 0.5rem;
}

.action-card p {
  color: #666;
  font-size: 0.9rem;
}

/* Dashboard Firestore Data Styles */
.profile-info {
  margin-top: 0;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #0D6EFD;
}

.profile-info h3 {
  color: #0D6EFD;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.profile-info p {
  margin: 0.75rem 0;
  color: #333;
  line-height: 1.6;
}

.data-unavailable {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  color: #856404;
  text-align: center;
}

.data-unavailable p {
  margin: 0;
  font-style: italic;
}

.recent-reviews {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
  margin-bottom: 2rem;
}

.recent-reviews h2 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-item {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #28a745;
  transition: box-shadow 0.2s ease;
  line-height: 1.6;
}

.review-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.review-item h4 {
  color: #333;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.review-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.rating .star {
  color: #ddd;
  font-size: 1.2rem;
}

.rating .star.filled {
  color: #ffc107;
}

.service {
  background: #e9ecef;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #495057;
}

.date {
  color: #6c757d;
  font-size: 0.9rem;
}

.review-text {
  color: #333;
  line-height: 1.5;
  margin: 0;
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem 0;
}

.pagination-info {
  color: #666;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.pagination .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  text-decoration: none;
}

.pagination .btn:hover {
  text-decoration: none;
}

/* Loading States */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-profile {
  height: 120px;
  border-radius: 6px;
  margin: 1rem 0;
}

.skeleton-review {
  height: 80px;
  border-radius: 6px;
  margin: 1rem 0;
}

/* Platinum Settings Panel */
.platinum-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.platinum-panel {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.platinum-intro {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.platinum-intro h3 {
    color: #0D6EFD;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.platinum-intro p {
    color: #666;
    line-height: 1.6;
}

.platinum-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.platinum-section:last-of-type {
    border-bottom: none;
}

.platinum-section h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-help {
    display: block;
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Business Card Preview */
.biz-card-preview {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.biz-card-preview h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.biz-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 350px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.biz-card-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.biz-card-trade {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.biz-card-location {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.biz-card-contact {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.biz-card-hidden {
    background: #f8f9fa;
    border: 1px dashed #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

/* FAQ Accordion */
.platinum-faq {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.platinum-faq h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.faq-item summary {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 500;
    color: #0D6EFD;
    list-style: none;
    transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: '▶';
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.faq-item[open] summary::before {
    transform: rotate(90deg);
}

.faq-item summary:hover {
    background: #e9ecef;
}

.faq-item p {
    padding: 1rem;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Disabled Search Bar */
.search-bar {
    background: #f8f9fa;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.search-bar-content {
    display: flex;
    gap: 0.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    opacity: 0.6;
    cursor: not-allowed;
}

.search-input:disabled {
    background: #e9ecef;
    color: #6c757d;
}

.search-note {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

/* Responsive adjustments for platinum layout */
@media (max-width: 968px) {
    .platinum-layout {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid,
    .dashboard-grid,
    .admin-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dashboard-header,
    .profile-header,
    .reviews-header,
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .dashboard-main {
        order: 1;
    }
    
    .dashboard-sidebar {
        order: 2;
    }
    
    .quick-actions {
        margin-bottom: 2rem;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .steps,
    .benefits-grid,
    .upgrade-steps {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .slots-grid {
        grid-template-columns: 1fr;
    }
    
    .ad-units-grid {
        grid-template-columns: 1fr;
    }
    
    .search-bar-content {
        flex-direction: column;
    }
    
    .search-input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .login-form {
        padding: 1rem;
    }
    
    .dashboard {
        padding: 0 0.5rem;
    }
    
    .dashboard-header h1 {
        font-size: 1.75rem;
    }
    
    .welcome-card,
    .recent-reviews {
        padding: 1rem;
    }
    
    .review-item {
        padding: 1rem;
    }
    
    .review-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .pagination {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Homepage Layout - Three Column */
.ts-content {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px 2rem 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* Override container max-width only when it contains ts-content */
.main .container:has(.ts-content) {
    max-width: none !important;
}

.main .container > .ts-content {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.ts-searchbar {
    background: #f8f9fa;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-top: 2rem;
}

.ts-main .ts-searchbar {
    margin-top: 2rem;
}

.ts-searchbar-content {
    display: flex;
    gap: 0.5rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.ts-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    opacity: 0.6;
    cursor: not-allowed;
}

.ts-search-input:disabled {
    background: #e9ecef;
    color: #6c757d;
}

.ts-search-select {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    opacity: 0.6;
    cursor: not-allowed;
    min-width: 150px;
}

.ts-search-select:disabled {
    background: #e9ecef;
    color: #6c757d;
}

.ts-search-note {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
    padding: 0 20px;
}

.ts-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.ts-content .ts-layout-new {
    display: grid !important;
    grid-template-columns: 280px 1fr 280px !important;
    grid-template-rows: auto !important;
    gap: 2rem !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    grid-auto-flow: row !important;
}

.ts-content .ts-layout-new > * {
    min-width: 0 !important;
}

.ts-sidebar-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    order: 1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    grid-column: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ts-main {
    min-height: 400px !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    order: 2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    grid-column: 2 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ts-main .hero {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
}

.ts-main .hero-content {
    padding: 1.5rem 2rem;
}

.ts-sidebar-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    order: 3 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    grid-column: 3 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ts-sidebar-left .features {
    margin-bottom: 0;
}

.ts-sidebar-left .features h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: left !important;
}

.ts-sidebar-left .features-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem;
}

.ts-sidebar-left .feature-card {
    margin-bottom: 0 !important;
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: left !important;
    box-shadow: none !important;
}

.ts-sidebar-right .sidebar-content {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    width: 100% !important;
    display: block !important;
}

.ts-sidebar-right .sidebar-content h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.ts-featured h2,
.sidebar-content.ts-featured h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sidebar-content.ts-featured h3 {
    margin-top: 2rem;
    font-size: 1.25rem;
}

.sidebar-content.ts-featured h3:first-child {
    margin-top: 0;
    font-size: 1.75rem;
}

.ts-sidebar-right .service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ts-sidebar-right .service-list li {
    margin-bottom: 0.75rem;
}

.ts-sidebar-right .service-list a {
    color: #0D6EFD;
    text-decoration: none;
    transition: color 0.2s;
}

.ts-sidebar-right .service-list a:hover {
    color: #0B5ED7;
    text-decoration: underline;
}

.ts-featured h2 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.ts-coming-soon {
    color: #6c757d;
    margin-bottom: 2rem;
    font-style: italic;
}

.ts-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.ts-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ts-sidebar .features {
    margin-bottom: 0;
}

.ts-sidebar .features h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.ts-sidebar .features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ts-sidebar .feature-card {
    margin-bottom: 0;
}

/* Platinum Settings Polish */
.ts-panel {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ts-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.ts-group:last-child {
    border-bottom: none;
}

.ts-group h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.ts-hint {
    display: block;
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.ts-switch {
    margin-bottom: 0.75rem;
}

.ts-switch label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.ts-switch input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.ts-bizcard {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 350px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    min-height: 180px;
}

.ts-bizcard .biz-card-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.ts-bizcard .biz-card-trade {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.ts-bizcard .biz-card-location {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.ts-bizcard .biz-card-contact {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.ts-overlay-muted {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-align: center;
    padding: 1rem;
}

.ts-overlay-muted p {
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

/* Responsive adjustments for homepage */
@media (max-width: 1200px) {
    .ts-content .ts-layout-new {
        grid-template-columns: 250px 1fr 250px !important;
    }
}

@media (max-width: 968px) {
    .ts-layout {
        grid-template-columns: 1fr;
    }
    
    .ts-content .ts-layout-new {
        grid-template-columns: 1fr !important;
    }
    
    .ts-sidebar {
        order: -1;
    }
    
    .ts-content .ts-layout-new .ts-sidebar-left {
        order: 1 !important;
        grid-column: 1 !important;
    }
    
    .ts-content .ts-layout-new .ts-sidebar-right {
        order: 2 !important;
        grid-column: 1 !important;
    }
    
    .ts-content .ts-layout-new .ts-main {
        order: 3 !important;
        grid-column: 1 !important;
    }
    
    .ts-searchbar-content {
        flex-direction: column;
    }
    
    .ts-search-select {
        width: 100%;
    }
}

/* Premium Platinum Settings Styles */
.platinum-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 3rem;
}

.platinum-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.platinum-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.platinum-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.platinum-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.platinum-alert {
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.platinum-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
}

.platinum-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.platinum-info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.platinum-info-card h3 {
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #0D6EFD;
}

.platinum-info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.platinum-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.info-value a {
    color: #0D6EFD;
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.platinum-main {
    background: transparent;
}

.platinum-form-premium {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.platinum-section-premium {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s ease;
}

.platinum-section-premium:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.section-description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.premium-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.premium-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.premium-input,
.premium-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fff;
}

.premium-input:focus,
.premium-textarea:focus {
    outline: none;
    border-color: #0D6EFD;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.premium-textarea {
    resize: vertical;
    min-height: 100px;
}

.premium-hint {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
    margin-top: 0.25rem;
}

.premium-toggle-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.premium-toggle {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.2s ease;
}

.premium-toggle:hover {
    background: #f0f4ff;
    border-color: #0D6EFD;
}

.toggle-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    margin: 0;
}

.toggle-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #0D6EFD;
}

.toggle-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toggle-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.toggle-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.4;
}

.premium-faq {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.premium-faq-item {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: all 0.2s ease;
}

.premium-faq-item:hover {
    border-color: #0D6EFD;
}

.premium-faq-item summary {
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    color: #1a1a2e;
    font-size: 1rem;
    list-style: none;
    transition: background 0.2s ease;
    user-select: none;
}

.premium-faq-item summary::-webkit-details-marker {
    display: none;
}

.premium-faq-item summary::before {
    content: '▶';
    display: inline-block;
    margin-right: 0.75rem;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
    color: #0D6EFD;
}

.premium-faq-item[open] summary::before {
    transform: rotate(90deg);
}

.premium-faq-item summary:hover {
    background: #f0f4ff;
}

.faq-content {
    padding: 1.5rem;
}

.faq-content p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

.premium-bizcard {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    position: relative;
}

.bizcard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.bizcard-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.bizcard-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bizcard-trade {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
    font-weight: 500;
}

.bizcard-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.25rem;
}

.bizcard-location svg {
    color: #0D6EFD;
}

.bizcard-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e9ecef;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #555;
}

.contact-item svg {
    color: #0D6EFD;
    flex-shrink: 0;
}

.premium-bizcard-hidden {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: #f8f9fa;
    border-style: dashed;
}

.bizcard-hidden-message {
    text-align: center;
    padding: 2rem;
}

.bizcard-hidden-message svg {
    color: #6c757d;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.bizcard-hidden-message p {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.bizcard-hidden-message span {
    font-size: 0.875rem;
    color: #6c757d;
    display: block;
}

.platinum-form-actions {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
}

.btn-premium {
    background: linear-gradient(135deg, #0D6EFD 0%, #0B5ED7 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.4);
    background: linear-gradient(135deg, #0B5ED7 0%, #0A58CA 100%);
}

.btn-premium:active {
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .platinum-container {
        grid-template-columns: 1fr;
    }
    
    .platinum-sidebar {
        position: static;
    }
    
    .platinum-info-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .platinum-header h1 {
        font-size: 2rem;
    }
    
    .platinum-section-premium {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .premium-bizcard {
        max-width: 100%;
    }
}

/* === TROUBLE ST HOMEPAGE — HARD LAYOUT OVERRIDES === */
/* Three-column frame: [Left cards] [Hero + search] [Right links] */

/* Force container to not constrain homepage - MUST be first */
.main .container {
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Override any existing container rules for homepage */
body .main .container {
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

.ts-content {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px 2rem 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ts-content .ts-layout-new {
    display: grid !important;
    grid-template-columns: 300px 1fr 320px !important;
    gap: 2rem !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Left column: stack the three feature cards neatly */
.ts-sidebar-left {
    grid-column: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 1.25rem !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.06) !important;
    width: 100% !important;
    min-width: 0 !important;
    order: 1 !important;
}
.ts-sidebar-left .features h2 { text-align: left !important; margin: 0 0 .75rem !important; }
.ts-sidebar-left .feature-card {
    text-align: left !important;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    box-shadow: none !important;
    padding: 1rem !important;
}

/* Center: hero + disabled search under it */
.ts-main { 
    grid-column: 2 !important; 
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

.ts-main .hero { 
    margin: 0 0 1rem 0 !important; 
    border-radius: 8px !important; 
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 2rem 0 3rem 0 !important;
}

.ts-main .hero-content {
    padding: 1.5rem 2rem !important;
    max-width: 100% !important;
}

.ts-searchbar { 
    margin-top: 0 !important; 
    width: 100% !important;
    background: #f8f9fa !important;
    padding: 1.5rem 0 !important;
    border-radius: 8px !important;
}

.ts-searchbar-content { 
    max-width: 100% !important;
    padding: 0 20px !important;
}

/* Right column: Featured + Popular links */
.ts-sidebar-right { 
    grid-column: 3 !important; 
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    order: 3 !important;
}

.ts-sidebar-right .sidebar-content {
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 1.25rem !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.06) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.ts-featured h2 { margin: 0 0 .25rem !important; font-weight: 600 !important; }
.ts-coming-soon { color:#6c757d !important; margin-bottom: 1.25rem !important; font-style: italic; }

/* Enabled search input */
.ts-search-input { opacity: 1 !important; cursor: text !important; }
.ts-search-select { cursor: pointer !important; }

/* Responsive collapse */
@media (max-width: 992px) {
    .ts-content .ts-layout-new { grid-template-columns: 1fr !important; }
    .ts-sidebar-left, .ts-main, .ts-sidebar-right { grid-column: 1 !important; }
}

/* ===== FORCE GRID LAYOUT - HIGHEST PRIORITY ===== */
body .main .container .ts-content .ts-layout-new {
    display: grid !important;
    grid-template-columns: 300px 1fr 320px !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body .main .container .ts-content .ts-sidebar-left {
    grid-column: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
}

body .main .container .ts-content .ts-main {
    grid-column: 2 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 !important;
}

body .main .container .ts-content .ts-sidebar-right {
    grid-column: 3 !important;
    display: block !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
}

/* ===== HOMEPAGE TWO-COLUMN LAYOUT ===== */
/* Hero and search bar spacing */
.ts-searchbar {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.ts-searchbar .container {
    max-width: 1200px !important;
}

/* Two-column grid wrapper */
.content-grid {
    display: grid;
    grid-template-columns: 1.6fr minmax(280px, 360px);
    gap: 2.5rem;
    align-items: start;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Left column: Features */
.content-grid .features {
    margin: 0;
    padding: 0;
}

.content-grid .features h2 {
    text-align: left;
    margin-bottom: 1rem;
    margin-top: 0;
}

.content-grid .features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 420px;
}

.content-grid .features-grid .feature-card {
    text-align: left;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Right column: Sidebar */
.content-grid .sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-grid .sidebar .sidebar-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-grid .sidebar .sidebar-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.content-grid .sidebar .sidebar-content h3:first-child {
    margin-top: 0;
}

.content-grid .sidebar .sidebar-content h3:not(:first-child) {
    margin-top: 1.5rem;
}

.content-grid .sidebar .ts-coming-soon {
    color: #6c757d;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.content-grid .sidebar .service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-grid .sidebar .service-list li {
    margin-bottom: 0.75rem;
}

.content-grid .sidebar .service-list li:last-child {
    margin-bottom: 0;
}

.content-grid .sidebar .service-list a {
    color: #0D6EFD;
    text-decoration: none;
    transition: color 0.2s;
}

.content-grid .sidebar .service-list a:hover {
    color: #0B5ED7;
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 20px;
    }

    .content-grid .features-grid {
        max-width: 100%;
    }

    .content-grid .sidebar {
        order: 2;
    }

    .content-grid .features {
        order: 1;
    }

    .directory-grid {
        padding: 2rem 20px;
    }
}

/* ===== BUSINESS DIRECTORY GRID ===== */
.directory-grid {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 2rem 20px;
    box-sizing: border-box;
}

.directory-grid .container {
    max-width: 100%;
    padding: 0;
}

.directory-grid .directory-placeholder {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    font-size: 1rem;
    margin: 0;
    padding: 2rem 0;
}

/* Future card grid - ready for when cards are added */
.directory-grid .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

/* ===== CONTENT GRID REFINEMENTS ===== */
.content-grid .features {
    margin-top: 0;
    padding-top: 0;
}

.content-grid .features h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* ===== HOMEPAGE THREE-COLUMN LAYOUT ===== */
/* Three-column grid: Left (Features) | Center (Hero + Search) | Right (Sidebar) */
.home-three-col {
    display: grid !important;
    grid-template-columns: minmax(280px, 380px) 1fr minmax(280px, 360px) !important;
    gap: 2rem !important;
    align-items: start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Left column: Features */
.home-left {
    width: 100%;
    grid-column: 1;
}

.home-left .features {
    margin: 0;
    padding: 0;
}

.home-left .features h2 {
    text-align: left !important;
    margin-top: 0;
    margin-bottom: 1rem;
}

.home-left .features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-items: start !important;
    max-width: 100%;
    width: 100%;
}

.home-left .features-grid .feature-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    margin: 0;
}

/* Center column: Hero + Search */
.home-center {
    width: 100%;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-center .hero {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    padding: 2rem 0 3rem 0 !important;
}

.home-center .hero-content h1,
.home-center .hero h1 {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    color: white !important;
    text-align: center !important;
    display: block !important;
    visibility: visible !important;
}

.home-center .hero-content .hero-subtitle,
.home-center .hero .hero-subtitle {
    font-size: 1.5rem !important;
    margin-bottom: 2rem !important;
    opacity: 0.85 !important;
    font-weight: 300 !important;
    text-align: center !important;
    color: white !important;
    display: block !important;
    visibility: visible !important;
}

.home-center .ts-searchbar {
    margin-top: 1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.home-center .ts-searchbar-content {
    max-width: 100%;
    padding: 0;
}

/* Right column: Sidebar */
.home-right {
    width: 100%;
    min-width: 0;
    grid-column: 3;
}

.home-right .sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 360px !important;
}

.home-right .sidebar .sidebar-content {
    display: block !important;
    width: 100% !important;
    background: #fff !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    box-sizing: border-box !important;
}

.home-right .sidebar .sidebar-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.home-right .sidebar .sidebar-content h3:not(:first-child) {
    margin-top: 1.5rem;
}

.home-right .sidebar .ts-coming-soon {
    color: #6c757d;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.home-right .sidebar .service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-right .sidebar .service-list li {
    margin-bottom: 0.75rem;
}

.home-right .sidebar .service-list li:last-child {
    margin-bottom: 0;
}

.home-right .sidebar .service-list a {
    color: #0D6EFD;
    text-decoration: none;
    transition: color 0.2s;
}

.home-right .sidebar .service-list a:hover {
    color: #0B5ED7;
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .home-three-col {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 0 20px;
    }

    .home-left {
        grid-column: 1 !important;
    }

    .home-center {
        grid-column: 1 !important;
    }

    .home-right {
        grid-column: 1 !important;
        margin-top: 2rem;
    }

    .home-left .features-grid {
        max-width: 100%;
    }

    .home-left .features-grid .feature-card {
        max-width: 100%;
    }

    .home-right .sidebar {
        max-width: 100%;
    }
}

/* ===== ENHANCED BUSINESS CARD PREVIEW STYLES ===== */
/* Override ALL logo sizes for compact cards - force 48px */
.bizcard--compact .bizcard-logo,
.bizcard.bizcard--compact .bizcard-logo,
.bizcard--compact img.bizcard-logo,
.bizcard.bizcard--compact img.bizcard-logo,
.platinum-section-premium .bizcard--compact .bizcard-logo,
.platinum-section-premium .bizcard--compact img.bizcard-logo,
.platinum-section-premium .bizcard.bizcard--compact .bizcard-logo,
.platinum-section-premium .bizcard.bizcard--compact img.bizcard-logo {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
    display: block !important;
    border: 2px solid #f3f4f6 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.12) !important;
}

.bizcard--compact .bizcard-logo-fallback,
.bizcard.bizcard--compact .bizcard-logo-fallback,
.platinum-section-premium .bizcard--compact .bizcard-logo-fallback,
.platinum-section-premium .bizcard.bizcard--compact .bizcard-logo-fallback {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    margin-right: 0 !important;
    font-size: 1.125rem !important;
    flex-shrink: 0 !important;
    display: grid !important;
    border: 2px solid #f3f4f6 !important;
}

.bizcard-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bizcard-header-text {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.bizcard-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.badge-pill {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e9ecef;
    color: #495057;
    line-height: 1.2;
}

.bizcard-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
    font-size: 0.875rem;
}

.bizcard-meta .meta-item {
    color: #6c757d;
}

.bizcard-meta .meta-item strong {
    color: #495057;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bizcard-summary,
.bizcard-availability,
.bizcard-servicearea {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-top: 0.75rem;
}

.bizcard-summary {
    font-style: italic;
}

.bizcard-servicearea {
    margin-top: 0.5rem;
}

.bizcard-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.bizcard-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.bizcard-contact .contact-item:last-child {
    margin-bottom: 0;
}

.bizcard-contact .contact-item svg {
    color: #0D6EFD;
    flex-shrink: 0;
}

.bizcard-contact .contact-item a {
    color: #0D6EFD;
    text-decoration: none;
}

.bizcard-contact .contact-item a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .bizcard-meta {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ===== COMPACT BUSINESS CARD STYLES ===== */
.bizcard {
    width: 280px;
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

/* Platinum Pill Badge - Top Right Corner */
.platinum-pill {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    bottom: auto !important;
    background: #c0c0c0 !important;
    background: linear-gradient(135deg, #d4d4d4 0%, #a8a8a8 100%) !important;
    color: #000000 !important;
    padding: 0.35rem 0.8rem !important;
    border-radius: 16px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2), inset 0 1px 1px rgba(255,255,255,0.5) !important;
    z-index: 1000 !important;
    white-space: nowrap !important;
    border: 1px solid rgba(0,0,0,0.2) !important;
    display: inline-block !important;
    margin: 0 !important;
    text-align: center !important;
    min-width: auto !important;
    width: auto !important;
    height: auto !important;
}

.bizcard .platinum-pill,
.bizcard--compact .platinum-pill {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
}

@media (max-width: 768px) {
    .platinum-pill {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.7rem !important;
        top: 6px !important;
        right: 6px !important;
    }
}

.bizcard:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.08);
    transform: translateY(-2px);
    border-color: #d1d5db;
}

@media (min-width: 1024px) {
    .bizcard {
        width: 300px;
    }
}

/* Ensure images are properly cropped to fit card - ULTRA SPECIFIC */
.bizcard img.bizcard-logo,
.bizcard--compact img.bizcard-logo,
.bizcard.bizcard--compact img.bizcard-logo,
.platinum-section-premium .bizcard img.bizcard-logo,
.platinum-section-premium .bizcard--compact img.bizcard-logo,
.platinum-section-premium .bizcard.bizcard--compact img.bizcard-logo,
.section-content .bizcard img.bizcard-logo,
.section-content .bizcard--compact img.bizcard-logo {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center center !important;
    flex-shrink: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
    border: 2px solid #f3f4f6 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.1) !important;
}

.bizcard-logo-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.bizcard-content-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    width: 100%;
}

.bizcard-logo {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    flex: 0 0 48px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.12), inset 0 0 0 2px #f9fafb !important;
    overflow: hidden !important;
    display: block !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border: 2px solid #f3f4f6 !important;
}

.bizcard-logo-fallback {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%) !important;
    color: #374151 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.12) !important;
    flex: 0 0 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border: 2px solid #f3f4f6 !important;
}

.bizcard-name-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.bizcard-name-link:hover .bizcard-name {
    color: #0D6EFD;
    text-decoration: underline;
}

.bizcard-name {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
    margin: 0;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.bizcard-profession {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

.bizcard-location {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
    margin: 0;
    text-align: center;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 1.5rem;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover .bizcard {
    box-shadow: 0 10px 28px rgba(0,0,0,.10);
    transform: translateY(-1px);
    transition: all .2s ease;
}

.bizcard:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.08);
    transform: translateY(-2px);
    border-color: #d1d5db;
}

.bizcard img {
    max-width: 100%;
    height: auto;
}

/* Force all bizcard logos to be 48px regardless of source image size */
.bizcard img[class*="logo"],
.bizcard img.bizcard-logo,
.bizcard--compact img,
.bizcard.bizcard--compact img {
    max-width: 48px !important;
    max-height: 48px !important;
    width: 48px !important;
    height: 48px !important;
}

.directory-section {
    margin-top: 2rem;
    padding: 2rem 0;
}

.directory-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.directory-empty {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 2rem;
    grid-column: 1 / -1;
}

/* ===== FULL BUSINESS CARD STYLES ===== */
.business-card-full {
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 2rem !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
    border-radius: 12px !important;
}

.bizcard-header-section {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
    margin-bottom: 2.5rem !important;
    padding: 2rem !important;
    padding-bottom: 2rem !important;
    border-bottom: 2px solid #e5e7eb !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.08) !important;
}

.bizcard-full-logo {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 4px;
    object-fit: cover;
    object-position: center;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.bizcard-full-logo-fallback {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 4px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.875rem;
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.bizcard-header-text {
    flex: 1;
    min-width: 0;
}

.bizcard-full-name {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.bizcard-full-trade {
    font-size: 1.0625rem;
    color: #4b5563;
    font-weight: 500;
    margin: 0 0 0.375rem 0;
}

.bizcard-full-location {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
}

.bizcard-contact-section {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2.5rem !important;
    margin-bottom: 2.5rem !important;
    padding: 1.75rem 1.5rem !important;
    border-bottom: 2px solid #e5e7eb !important;
    background: #f9fafb !important;
    border-radius: 8px !important;
}

.contact-info-item {
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
}

.contact-info-item strong {
    color: #111827;
    font-weight: 600;
    margin-right: 0.75rem;
    display: inline-block;
    min-width: 70px;
}

.contact-info-item a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.contact-info-item a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.bizcard-section {
    margin-bottom: 2.5rem !important;
    padding: 2rem 0 !important;
    border-bottom: 2px solid #e5e7eb !important;
    background: #fafbfc !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    border-radius: 8px !important;
    margin-left: -1.5rem !important;
    margin-right: -1.5rem !important;
}

.bizcard-section:last-child {
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.bizcard-section h3 {
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: #374151 !important;
    margin: 0 0 1.25rem 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.bizcard-section p {
    font-size: 1.0625rem !important;
    line-height: 1.85 !important;
    color: #374151 !important;
    margin: 0 !important;
}

.bizcard-bio {
    font-size: 1.125rem !important;
    line-height: 1.9 !important;
    color: #374151 !important;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.credential-item {
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
    padding: 0;
}

.credential-item strong {
    color: #111827;
    font-weight: 600;
    margin-right: 0.875rem;
    display: inline-block;
    min-width: 140px;
}

.badge-yes {
    color: #059669;
    font-weight: 600;
    font-size: 0.9375rem;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.feature-badge {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9375rem;
    color: #374151;
    font-weight: 500;
}

.member-since {
    font-size: 0.875rem;
    color: #9ca3af;
    font-style: italic;
    margin: 0;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .business-card-full {
        padding: 1.5rem;
    }
    
    .bizcard-header-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .bizcard-full-name {
        font-size: 1.5rem;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .bizcard-contact-section {
        grid-template-columns: 1fr;
    }
}

/* ===== FORCE LOGO SIZE IN PLATINUM PREVIEW ===== */
/* Override everything for platinum preview images - 48px */
.platinum-section-premium img.bizcard-logo,
.platinum-section-premium .bizcard img,
.platinum-section-premium .bizcard--compact img,
.platinum-section-premium .bizcard.bizcard--compact img,
.platinum-section-premium .section-content img.bizcard-logo,
.platinum-section-premium .section-content .bizcard img {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    border: 2px solid #f3f4f6 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.12) !important;
}

/* Force profile page logo to be small */
.business-card-full img.bizcard-full-logo,
.business-card-full .bizcard-full-logo,
.profile-content img.bizcard-full-logo,
.profile-content .bizcard-full-logo,
.bizcard-header-section img,
.bizcard-header-section .bizcard-full-logo {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
}

.business-card-full .bizcard-full-logo-fallback,
.profile-content .bizcard-full-logo-fallback,
.bizcard-header-section .bizcard-full-logo-fallback {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    font-size: 1rem !important;
}

/* ===== FINAL ENFORCEMENT: PLATINUM PILL TOP-RIGHT POSITIONING ===== */
/* Final rule to ensure pill stays in top-right corner of preview card */
.bizcard.bizcard--compact .platinum-pill {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 1000 !important;
}

@media (max-width: 768px) {
    .bizcard.bizcard--compact .platinum-pill {
        top: 6px !important;
        right: 6px !important;
    }
}

/* Platinum Pill Badge */
.platinum-pill {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1000;
    background: linear-gradient(135deg, #d4d4d4 0%, #a8a8a8 100%);
    color: #000000;
    padding: 0.22rem 0.55rem;
    border-radius: 14px;
    font-size: 0.60rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18), inset 0 1px 1px rgba(255,255,255,0.55);
    white-space: nowrap;
    border: 1px solid rgba(0,0,0,0.2);
    display: inline-block;
    margin: 0;
    text-align: center;
}

.bizcard.bizcard--compact .platinum-pill {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1000;
}

@media (max-width: 768px) {
    .platinum-pill {
        font-size: 0.55rem;
        padding: 0.18rem 0.45rem;
        top: 6px;
        right: 6px;
    }
}

.platinum-section-premium .section-content .bizcard.bizcard--compact > .platinum-pill {
    font-size: 0.39rem !important;
    padding: 0.12rem 0.30rem !important;
    border-radius: 12px !important;
    letter-spacing: 0.26px !important;
    line-height: 1 !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 1000 !important;
}

@media (max-width: 768px) {
    .platinum-section-premium .section-content .bizcard.bizcard--compact > .platinum-pill {
        font-size: 0.36rem !important;
        padding: 0.10rem 0.27rem !important;
        top: 6px !important;
        right: 6px !important;
    }
}

/* Hard override for compact card pill */
.platinum-pill{
    font-size:0.34rem !important;
    padding:0.10rem 0.28rem !important;
    border-radius:10px !important;
    letter-spacing:0.2px !important;
    line-height:1 !important;
  }
  .bizcard .platinum-pill{
    top:6px !important;
    right:6px !important;
    z-index:1000 !important;
  }
  @media (max-width:768px){
    .platinum-pill{
      font-size:0.30rem !important;
      padding:0.08rem 0.24rem !important;
    }
  }

/* ===== PREMIUM PROFILE PAGE STYLES ===== */
/* Profile Hero Section */
.profile-hero {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 4px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    display: block;
}

.profile-avatar-fallback {
    display: grid;
    place-items: center;
    font-size: 3rem;
    font-weight: 700;
    color: #6c757d;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

.profile-pill {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #d4d4d4 0%, #a8a8a8 100%);
    color: #000000;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.5);
    z-index: 10;
    white-space: nowrap;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.profile-hero-info {
    flex: 1;
    min-width: 0;
}

.profile-hero-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.profile-hero-name {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.verified-badge {
    display: inline-block;
    background: #198754;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-hero-trade {
    font-size: 1.125rem;
    color: #4b5563;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
}

.profile-hero-location {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

/* Profile Grid Layout */
.profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.profile-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.profile-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

.profile-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

.profile-bio {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
}

/* Expiry Dates */
.expiry-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.expiry-item {
    font-size: 0.9375rem;
    color: #374151;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #6c757d;
}

.expiry-item strong {
    display: block;
    color: #111827;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expiry-date {
    display: block;
    color: #6c757d;
}

.expiry-date.expired {
    color: #dc3545;
}

.expiry-date.warning {
    color: #ffc107;
}

.expiry-status {
    display: block;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Profile Sidebar */
.profile-side {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.profile-info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.profile-info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #0D6EFD;
}

.profile-info-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.profile-info-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.profile-info-group h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 1rem 0;
}

.profile-contact-item,
.profile-credential-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.profile-contact-item:last-child,
.profile-credential-item:last-child {
    margin-bottom: 0;
}

.profile-contact-item strong,
.profile-credential-item strong {
    font-size: 0.8125rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.profile-contact-link {
    color: #0D6EFD;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.profile-contact-link:hover {
    color: #0B5ED7;
    text-decoration: underline;
}

.profile-credential-item span {
    color: #374151;
    font-size: 0.9375rem;
}

/* Share Buttons */
.profile-share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.profile-share-btn {
    padding: 0.625rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #ffffff;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.profile-share-btn:hover {
    background: #f8f9fa;
    border-color: #0D6EFD;
    color: #0D6EFD;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-share-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.profile-share-twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.profile-share-linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.profile-share-copy:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Member Since */
.member-since {
    font-size: 0.875rem;
    color: #9ca3af;
    font-style: italic;
    margin: 0;
    padding-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-side {
        position: static;
    }
    
    .profile-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-hero-header {
        justify-content: center;
    }
    
    .profile-hero-name {
        font-size: 1.75rem;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .profile-pill {
        font-size: 0.5rem;
        padding: 0.2rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .profile-hero {
        padding: 1.5rem;
    }
    
    .profile-section {
        padding: 1.25rem;
    }
    
    .profile-info-card {
        padding: 1.5rem;
    }
    
    .expiry-dates-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-share-buttons {
        grid-template-columns: 1fr;
    }
}

/* === TROUBLE ST PROFILE PAGE: SCOPED LAYOUT === */
/* Scoped styles to prevent homepage interference */

.profile-page {
    display: block;
    width: 100%;
}

/* Prevent homepage container styles from affecting profile page */
.profile-page .container {
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Ensure profile page doesn't inherit homepage layout */
.profile-page .ts-content,
.profile-page .ts-layout-new,
.profile-page .home-three-col {
    display: block !important;
    max-width: none !important;
    grid-template-columns: none !important;
}

/* Hide platinum pill on full profile page (only show on compact cards) */
.profile-page .profile-pill,
.profile-page .platinum-pill {
    display: none !important;
}

.profile-page .profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 420px);
    gap: 32px;
    width: clamp(1100px, 92vw, 1400px);
    margin: 24px auto 64px;
    padding: 0 20px;
    align-items: start;
}

.profile-page .profile-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-page .profile-aside {
    position: sticky;
    top: 24px;
    align-self: start;
}

/* Hero Section - Compact and Clean */
.profile-page .profile-hero {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 20px 24px;
    margin-bottom: 0;
}

.profile-page .profile-hero-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.profile-page .profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-page .profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid #e9ecef;
    background: #f8f9fa;
    display: block;
}

.profile-page .profile-avatar-fallback {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6c757d;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border-radius: 50%;
    border: 2px solid #e9ecef;
}

.profile-page .profile-hero-info {
    flex: 1;
    min-width: 0;
}

.profile-page .profile-hero-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.profile-page .profile-hero-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.profile-page .verified-badge {
    display: inline-block;
    background: #198754;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Verified Badge Circle - Small circular badge with white tick */
.profile-page .verified-badge-circle-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-page .verified-badge-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #28a745;
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
    cursor: help;
}

/* Verified Tooltip */
.profile-page .verified-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    z-index: 1000;
    font-weight: normal;
    line-height: 1.4;
}

/* Tooltip arrow pointing down */
.profile-page .verified-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
}

/* Show tooltip on hover */
.profile-page .verified-badge-circle-wrapper:hover .verified-tooltip {
    opacity: 1;
}

/* Mobile: show tooltip on tap (touch devices) */
@media (hover: none) and (pointer: coarse) {
    .profile-page .verified-badge-circle-wrapper:active .verified-tooltip,
    .profile-page .verified-badge-circle-wrapper:focus .verified-tooltip {
        opacity: 1;
    }
}

/* Verification Status Chips */
.profile-page .verification-status {
    margin-top: 0.5rem;
}

.profile-page .verification-status-verified {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #28a745;
    color: white;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
}

.profile-page .verification-status-not-verified {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #dc3545;
    color: white;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
}

.profile-page .profile-hero-trade {
    font-size: 1rem;
    color: #4b5563;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
}

.profile-page .profile-hero-location {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
}

/* Profile Sections - Consistent Card Style */
.profile-page .profile-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 20px 24px;
    margin-bottom: 0;
}

.profile-page .profile-section h3 {
    font-size: 0.9rem;
    font-weight: bold;
    color: #111827;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-page .profile-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

.profile-page .profile-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
}

/* Sidebar Card */
.profile-page .profile-info-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 20px 24px;
}

.profile-page .profile-info-card h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #111827;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #0D6EFD;
}

.profile-page .profile-info-group {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.profile-page .profile-info-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.profile-page .profile-info-group h4 {
    font-size: 0.82rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
}

.profile-page .profile-contact-item,
.profile-page .profile-credential-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 12px;
}

.profile-page .profile-contact-item:last-child,
.profile-page .profile-credential-item:last-child {
    margin-bottom: 0;
}

.profile-page .profile-contact-item strong,
.profile-page .profile-credential-item strong {
    font-size: 0.8125rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.profile-page .profile-contact-link {
    color: #0D6EFD;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.profile-page .profile-contact-link:hover {
    color: #0B5ED7;
    text-decoration: underline;
}

.profile-page .profile-credential-item span {
    color: #374151;
    font-size: 0.9375rem;
}

/* Share Buttons */
.profile-page .profile-share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.profile-page .profile-share-btn {
    padding: 0.625rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #ffffff;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.profile-page .profile-share-btn:hover {
    background: #f8f9fa;
    border-color: #0D6EFD;
    color: #0D6EFD;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-page .profile-share-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.profile-page .profile-share-twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.profile-page .profile-share-linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.profile-page .profile-share-copy:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Features List - Tidy Pills */
.profile-page .features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-page .feature-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
}

/* Member Since */
.profile-page .member-since {
    font-size: 0.875rem;
    color: #9ca3af;
    font-style: italic;
    margin: 0;
    padding-top: 0.5rem;
}

/* Expiry Dates */
.profile-page .expiry-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.profile-page .expiry-item {
    font-size: 0.9375rem;
    color: #374151;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #6c757d;
}

.profile-page .expiry-item strong {
    display: block;
    color: #111827;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-page .expiry-date {
    display: block;
    color: #6c757d;
}

.profile-page .expiry-date.expired {
    color: #dc3545;
}

.profile-page .expiry-date.warning {
    color: #ffc107;
}

.profile-page .expiry-status {
    display: block;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-page .profile-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
        padding: 0 16px;
    }
    
    .profile-page .profile-aside {
        position: static;
    }
}

@media (max-width: 600px) {
    .profile-page .profile-grid {
        padding: 0 12px;
        margin: 16px auto 48px;
    }
    
    .profile-page .profile-hero {
        padding: 16px 20px;
    }
    
    .profile-page .profile-section {
        padding: 16px 20px;
    }
    
    .profile-page .profile-info-card {
        padding: 16px 20px;
    }
    
    .profile-page .profile-share-buttons {
        grid-template-columns: 1fr;
    }
}

/* === Platinum Business Directory Section === */
.platinum-directory-section {
    margin-top: 4rem;
    padding: 3rem 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.platinum-directory-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.platinum-directory-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.platinum-business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.platinum-business-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 280px;
}

.platinum-business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.platinum-business-card .platinum-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #0D6EFD 0%, #198754 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 1;
}

.platinum-business-card-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    flex-shrink: 0;
}

.platinum-business-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.platinum-business-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0D6EFD 0%, #198754 100%);
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.platinum-business-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.platinum-business-card-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.platinum-business-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.platinum-business-card-link:hover .platinum-business-card-name {
    color: #0D6EFD;
}

.platinum-business-card-profession {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.platinum-business-card-location {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.platinum-directory-empty {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-size: 1.1rem;
}

/* Platinum Pagination */
.platinum-pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.platinum-pagination-info {
    color: #6b7280;
    font-size: 0.9rem;
}

.platinum-pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.platinum-pagination-btn {
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.platinum-pagination-btn:hover:not(.platinum-pagination-btn-disabled) {
    background: #0D6EFD;
    color: white;
    border-color: #0D6EFD;
}

.platinum-pagination-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.platinum-pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.platinum-pagination-page {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.platinum-pagination-page:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.platinum-pagination-page-active {
    background: #0D6EFD;
    color: white;
    border-color: #0D6EFD;
    cursor: default;
}

.platinum-pagination-page-active:hover {
    background: #0D6EFD;
    border-color: #0D6EFD;
}

.platinum-pagination-ellipsis {
    padding: 0 0.5rem;
    color: #9ca3af;
}

/* Responsive Design for Platinum Directory */
@media (max-width: 968px) {
    .platinum-business-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .platinum-directory-wrapper {
        padding: 0 15px;
    }
}

@media (max-width: 640px) {
    .platinum-business-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .platinum-business-card {
        min-height: 260px;
        padding: 1.25rem;
    }
    
    .platinum-directory-section h2 {
        font-size: 1.75rem;
    }
    
    .platinum-pagination-controls {
        flex-direction: column;
    }
    
    .platinum-pagination-pages {
        order: -1;
    }
}

/* Verification System Styles */
.verification-section {
    margin-bottom: 2rem;
}

.verification-credentials {
    color: #6c757d;
    opacity: 0.7;
}

.verification-field {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.verification-field:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.verification-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.verification-badge-approved {
    background: #198754;
    color: white;
}

.verification-badge-pending {
    background: #ffc107;
    color: #000;
}

.verification-badge-rejected {
    background: #dc3545;
    color: white;
}

.verification-badge-expired {
    background: #dc3545;
    color: white;
}

.verification-notice {
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.verification-notice h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.verification-notice p {
    margin: 0 0 1rem 0;
}

.verification-notice:last-child p {
    margin-bottom: 0;
}

/* Document upload form styles */
.verification-step {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.document-upload-form .form-group {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.form-note {
    margin-top: 0.75rem;
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Live Trade Search Page */
.live-trade-search {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.lts-header {
    text-align: center;
    margin-bottom: 2rem;
}

.lts-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.lts-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.lts-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.lts-filter-group {
    flex: 1;
    min-width: 200px;
}

.lts-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a202c;
    font-size: 0.95rem;
}

.lts-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.lts-input:focus {
    outline: none;
    border-color: #0D6EFD;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.lts-button {
    padding: 0.75rem 2rem;
    white-space: nowrap;
}

.lts-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.lts-map {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.lts-results {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    max-height: 500px;
    overflow-y: auto;
}

.lts-results-placeholder,
.lts-loading,
.lts-error,
.lts-no-results {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.lts-error {
    color: #dc3545;
}

.lts-results-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.lts-results-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.lts-results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lts-result-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    transition: box-shadow 0.2s;
}

.lts-result-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lts-result-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.lts-result-content {
    flex: 1;
}

.lts-result-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.25rem 0;
}

.lts-result-trade {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0 0 0.25rem 0;
}

.lts-result-location {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 0.75rem 0;
}

.lts-result-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.lts-info-window {
    padding: 0.5rem;
}

.lts-info-window h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: #1a202c;
}

.lts-info-window p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #64748b;
}

.lts-info-window a {
    color: #0D6EFD;
    text-decoration: none;
}

.lts-info-window a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .lts-content {
        grid-template-columns: 1fr;
    }
    
    .lts-map {
        height: 400px;
    }
    
    .lts-results {
        max-height: none;
    }
    
    .lts-filters {
        flex-direction: column;
    }
    
    .lts-filter-group {
        min-width: 100%;
    }
}