.nav {
    position: relative;
    z-index: 10;
}

.nav a {
    pointer-events: auto;
}

:root {
    /* Base Theme Colors */
    --wbesite-background-color: #1c2333; /* Darker navy for pirate theme */
    --website-secondary-color: #2a3447; /* Slightly lighter for contrast */
    --website-accent: #c9a959; /* Gold accent for pirate theme */
    
    /* New Theme Variables */
    --section-bg: rgba(0, 0, 0, 0.4);
    --section-bg-hover: rgba(0, 0, 0, 0.6);
    --section-border: rgba(201, 169, 89, 0.1);
    --section-border-hover: rgba(201, 169, 89, 0.3);
    --section-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --section-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Effects */
    --text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
    --transition-speed: 0.3s;
}

/* Critical background overrides - After Bootswatch Override */
html, 
html body,
html body.bg-light,
html body.bg-white {
    background-color: var(--wbesite-background-color) !important;
    color: #fff !important;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-shadow: var(--text-shadow);
}

/* Override Bootswatch Spacelab light theme elements */
.bg-white,
.bg-light,
.card,
.modal-content,
.list-group-item,
.navbar,
.dropdown-menu,
.jumbotron {
    background-color: var(--website-secondary-color) !important;
    color: #fff !important;
}

/* Override any white backgrounds */
*[class*="bg-"] {
    background-color: var(--wbesite-background-color) !important;
}

/* Reset any Bootstrap background colors */
.bg-white {
    background-color: var(--wbesite-background-color) !important;
}

.bg-light {
    background-color: var(--wbesite-background-color) !important;
}

/* Enhanced layout structure */
.main-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(
        180deg, 
        var(--wbesite-background-color) 0%,
        rgba(28, 35, 51, 0.95) 100%
    );
}

/* Force dark theme on Bootstrap components */
.card,
.modal-content,
.dropdown-menu,
.list-group-item {
    background-color: var(--website-secondary-color) !important;
    color: #fff !important;
}

/* Code of Conduct Page Styles */
.section-title {
    font-family: 'Pirata One', cursive;
    color: #d4af37;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.article-text {
    font-family: 'Crimson Text', serif;
    color: #e6d5a7;
    line-height: 1.6;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.agreement-section {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 3rem;
    position: relative;
}

.custom-checkbox {
    display: flex;
    align-items: center;
}

.custom-checkbox .form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #d4af37;
    background-color: transparent;
}

.custom-checkbox .form-check-input:checked {
    background-color: #d4af37;
    border-color: #d4af37;
}

.signature-btn {
    background: linear-gradient(45deg, #b8860b, #d4af37);
    border: none;
    color: #1a1a1a;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-family: 'Crimson Text', serif;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: none;
}

.signature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

/* Landing Page Styles */
.features-section {
    background: var(--website-secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin: 0;
}

.feature-card i {
    opacity: 0.9;
    filter: drop-shadow(0 0 5px currentColor);
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(var(--bs-primary-rgb), 0.5);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(var(--bs-primary-rgb), 0.7);
    transform: translateY(-2px);
}

/* Form Controls */
select,
select.form-control,
select.form-select {
    color: #212529 !important; /* Bootstrap's default dark text color */
    background-color: #fff !important;
}

select option,
select.form-control option,
select.form-select option {
    color: #212529 !important;
    background-color: #fff !important;
}

select option:disabled,
select.form-control option:disabled,
select.form-select option:disabled {
    color: #6c757d !important; /* Bootstrap's default gray for disabled text */
    background-color: #f8f9fa !important; /* Light gray background */
}

/* Ensure dark text for select elements in all states */
select:focus,
select:active,
select:hover,
select.form-control:focus,
select.form-control:active,
select.form-control:hover,
select.form-select:focus,
select.form-select:active,
select.form-select:hover {
    color: #212529 !important;
    background-color: #fff !important;
}

h1 {
    color: white;
    font-size: 30px;
}

h2,
h3,
h4,
h5,
h6,
p,
label {
    color: white;
}

a {
    text-decoration: none;
    color: dimgrey;
    transition: 0.3s;
}

a:hover {
    color: white;
    text-decoration: none;
}

p {
    margin-bottom: 5px;
    margin-top: 5px;
}

.main-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.main-row {
    flex: 1;
    display: flex;
    flex-direction: row;
    height: 100%;
}

.main-page {
    width: 100%;
    padding: 6em 2em 3em;
    max-width: 75em;
    margin: auto;
    animation: fadeIn 0.5s ease-out;
    background-color: var(--wbesite-background-color) !important;
    position: relative;
    z-index: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Enhanced card styling for pirate theme */
.feed-card {
    background: var(--website-secondary-color);
    border: 2px solid rgba(201, 169, 89, 0.2);
    margin: 20px 10px;
    border-radius: 1em;
    flex: 1;
    max-width: 35em;
    min-width: 24em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(201, 169, 89, 0.4);
}

/* Enhanced header and footer */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 30;
}

.masthead {
    padding: 1rem 2rem;
    background-color: rgba(28, 35, 51, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(201, 169, 89, 0.1);
}

.masthead a {
    color: var(--website-accent);
    font-size: 1.5rem;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.masthead a:hover {
    color: #fff;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(28, 35, 51, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(201, 169, 89, 0.1);
    padding: 1rem 0;
}

.sidenav {
    overflow-y: auto;
    position: fixed;
    top: 40px;
    bottom: 40px;
    left: 0px;
    width: 20%;
    z-index: 10;
    background-color: black;
    padding: 0px 10px 0px 10px;
}

.main-content {
    flex: 1;
    top: 40px;
    bottom: 40px;
    left: 20%;
    right: 20%;
    padding: 0px 10px 0px 10px;
}

.main-content-mobile {
    flex: 1;
    left: 0px;
    right: 0px;
    overflow-y: auto;
    z-index: 10;
    padding: 0px 10px 0px 10px;
}

.aside-content {
    width: 20%;
    position: fixed;
    top: 40px;
    bottom: 40px;
    right: 0px;
    overflow-y: auto;
    z-index: 0;
    background-color: black;
    padding: 0px 10px 0px 10px;
}

.sidenav a {
    padding: 0px 5px 10px 0px;
    text-decoration: none;
    color: dimgrey;
    display: block;
    transition: 0.3s;
    font-size: 20px;
}

.sidenav a:hover {
    color: white;
}

.sidenav .navbar-brand {
    font-size: 40px;
}

.cf-spar {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

.alerttext {
    text-decoration: none;
    color: black;
}

.alert {
    padding: 10px 0px 10px 0px;
    margin: 15px 0px 15px 0px;
}

.tripPost {
    margin-top: 15px;
    height: 90px;
    overflow-y: auto;
    resize: none;
}

/* PROFILE PAGE */

.profile-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.profile-picture img {
    border-radius: 15%;
    border: 5px solid #ddd;
}

.user-info {
    color: white;
}

.user-info .badge {
    color: inherit;
    font-size: 1rem;
    margin-right: 5px;
}

.user-info table {
    color: inherit;
}

.user-info .badge {
    color: inherit;
}

.table {
    margin-bottom: 0;
}

.table td, .table th {
    padding: 1rem;
    vertical-align: middle;
}

.card {
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

.btn-sm {
    width: 32px;
    height: 32px;
    padding: 0;
    line-height: 32px;
    text-align: center;
}

.search-container .form-control {
    border-color: rgba(255,255,255,0.1);
}

.search-container .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: none;
}

.table-responsive {
    scrollbar-width: thin;
    scrollbar-color: var(--bs-primary) var(--bs-dark);
}

.user-item {
    transition: background-color 0.2s ease;
}

.user-item:hover {
    background-color: rgba(255,255,255,0.05);
}

.user-avatar {
    width: 40px;
    height: 40px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.border-bottom {
    border-color: rgba(255,255,255,0.1) !important;
}

.profile-dashboard table th,
.profile-dashboard table td {
    text-align: center;
    vertical-align: middle;
}

.profile-container {
    max-width: 800px;
    margin: 20px auto;
    background-color: var(--wbesite-background-color);
    box-shadow: 0 0 5rem rgba(0, 0, 0, .5);
    border-radius: 8px;
    overflow: hidden;
}

.profile-picture {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15%;
}

.profile-picture img {
    width: 15%;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
}

.profile-details h1 {
    margin: 0;
    font-size: 24px;
}

.profile-details p {
    margin: 5px 0;
    color: #555;
}

.profile-info h2,
.profile-interests h2 {
    margin-top: 0;
    font-size: 20px;
}

.profile-interests .interest-list {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.profile-interests .interest {
    width: 30px;
    height: 10px;
    border-radius: 5px;
}

.trip-package h3 {
    margin-bottom: 20px;
}

.trip-package .d-flex {
    gap: 20px;
}

/* Circular Image Container */
.circular-image {
    border-radius: 50%;
    overflow: hidden;
}

.circular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cover style */
a,
a:focus,
a:hover {
    color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    color: var(--wbesite-background-color);
    text-shadow: none;
    background-color: #fff;
    border: .05rem solid #fff;
}

/* Premium Card Styling */
.card {
    background: linear-gradient(145deg, 
        rgba(0, 0, 0, 0.7) 0%,
        rgba(20, 20, 30, 0.9) 100%) !important;
    border: 1px solid rgba(201, 169, 89, 0.1);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4),
                inset 0 0 60px rgba(201, 169, 89, 0.05);
    color: #fff !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 169, 89, 0.1),
        transparent
    );
    transition: 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(201, 169, 89, 0.1),
                inset 0 0 80px rgba(201, 169, 89, 0.08);
    border-color: rgba(201, 169, 89, 0.3);
}

.card-header {
    background: linear-gradient(
        135deg, 
        rgba(201, 169, 89, 0.15) 0%,
        rgba(0, 0, 0, 0.2) 100%
    ) !important;
    border-bottom: 2px solid rgba(201, 169, 89, 0.2);
    color: var(--website-accent);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 1.25rem 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-body {
    color: #fff !important;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

.card-footer {
    background: linear-gradient(
        -135deg, 
        rgba(201, 169, 89, 0.15) 0%,
        rgba(0, 0, 0, 0.2) 100%
    ) !important;
    border-top: 2px solid rgba(201, 169, 89, 0.2);
    padding: 1.25rem 1.5rem;
}

/* Dark Theme Section Styling */
.section-dark {
    background: var(--section-bg);
    border: 1px solid var(--section-border);
    border-radius: 15px;
    box-shadow: var(--section-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed) ease;
    color: var(--text-primary);
}

.section-dark:hover {
    background: var(--section-bg-hover);
    border-color: var(--section-border-hover);
    box-shadow: var(--section-shadow-hover);
}

.section-dark h1, 
.section-dark h2, 
.section-dark h3, 
.section-dark h4, 
.section-dark h5, 
.section-dark h6 {
    color: var(--website-accent);
}

.section-dark p {
    color: var(--text-secondary);
}

/* Zone Separator */
.zone-separator {
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--section-border),
        transparent
    );
    margin: 2rem 0;
}

/* Shield (Authentication) Page Styling */
.shield-form {
    position: relative;
    z-index: 1;
}

.shield-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../illustrations/logos/wotibuc.png') center/contain no-repeat;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

.shield-form .form-control {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(201, 169, 89, 0.2);
    color: #fff !important;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.shield-form .form-control:focus {
    border-color: var(--website-accent);
    box-shadow: 0 0 15px rgba(201, 169, 89, 0.2);
    background: rgba(0, 0, 0, 0.4) !important;
}

.shield-form .btn-primary {
    background: linear-gradient(135deg, var(--website-accent) 0%, #8b733d 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(201, 169, 89, 0.3);
    transition: all 0.3s ease;
}

.shield-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 89, 0.4);
}

.shield-form .divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--website-accent), transparent);
    margin: 2rem 0;
    opacity: 0.2;
}

/* Kitchen Subscription Styling */
.subscription-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(145deg, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(20, 20, 30, 0.95) 100%) !important;
}

.subscription-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 89, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.subscription-card:hover::before {
    opacity: 1;
}

.subscription-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s ease;
}

.subscription-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Treasure Tiers */
.treasure-bronze {
    border: 2px solid #cd7f32;
}

.treasure-bronze .subscription-icon {
    background: linear-gradient(135deg, #cd7f32 0%, #815024 100%);
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.3);
}

.treasure-bronze:hover {
    box-shadow: 0 15px 40px rgba(205, 127, 50, 0.2);
    transform: translateY(-5px);
}

.treasure-silver {
    border: 2px solid #c0c0c0;
}

.treasure-silver .subscription-icon {
    background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
}

.treasure-silver:hover {
    box-shadow: 0 15px 40px rgba(192, 192, 192, 0.2);
    transform: translateY(-5px);
}

.treasure-gold {
    border: 2px solid var(--website-accent);
}

.treasure-gold .subscription-icon {
    background: linear-gradient(135deg, var(--website-accent) 0%, #8b733d 100%);
    box-shadow: 0 0 20px rgba(201, 169, 89, 0.3);
}

.treasure-gold:hover {
    box-shadow: 0 15px 40px rgba(201, 169, 89, 0.2),
                0 0 80px rgba(201, 169, 89, 0.1);
    transform: translateY(-5px) scale(1.02);
}

/* Subscription Features */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.feature-list li i {
    color: var(--website-accent);
    margin-right: 1rem;
    font-size: 1.1em;
}

.subscription-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--website-accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 1.5rem 0;
}

.subscription-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.subscription-cta {
    margin-top: auto;
    padding-top: 1.5rem;
}

/* Profile Page Styling */
.profile-content {
    position: relative;
    z-index: 1;
}

.profile-header {
    background: linear-gradient(145deg, 
        rgba(0, 0, 0, 0.7) 0%,
        rgba(20, 20, 30, 0.95) 100%);
    border: 2px solid var(--section-border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--section-shadow);
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, 
        rgba(201, 169, 89, 0.1),
        transparent 70%);
    pointer-events: none;
}

.profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--website-accent);
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(201, 169, 89, 0.3);
}

.profile-rank {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, var(--website-accent) 0%, #8b733d 100%);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.profile-name {
    font-size: 2rem;
    font-weight: 600;
    margin: 1rem 0;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 169, 89, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(201, 169, 89, 0.1);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--website-accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.profile-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.profile-badge {
    background: linear-gradient(135deg, rgba(201, 169, 89, 0.2) 0%, rgba(201, 169, 89, 0.1) 100%);
    border: 1px solid rgba(201, 169, 89, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--website-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.profile-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 89, 0.1);
}

.profile-badge i {
    font-size: 1.1em;
}

/* Premium Card Elements */
.badge {
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--website-accent) 0%, #8b733d 100%);
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 50px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.border-bottom {
    border-color: rgba(201, 169, 89, 0.2) !important;
}

/* Luxurious Table Styling */
.card .table {
    color: #fff !important;
    margin: 1rem 0;
}

.card .table td,
.card .table th {
    border-color: rgba(201, 169, 89, 0.15);
    padding: 1rem 1.5rem;
    vertical-align: middle;
}

.card .table thead th {
    background: rgba(201, 169, 89, 0.1);
    border-bottom: 2px solid rgba(201, 169, 89, 0.2);
    font-weight: 600;
}

/* Premium Form Elements */
.card input,
.card select,
.card textarea {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(201, 169, 89, 0.2);
    color: #fff !important;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.card input:focus,
.card select:focus,
.card textarea:focus {
    background: rgba(0, 0, 0, 0.4) !important;
    border-color: var(--website-accent);
    box-shadow: 0 0 15px rgba(201, 169, 89, 0.2);
}

/* Premium Buttons */
.card .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.card .btn-primary {
    background: linear-gradient(135deg, var(--website-accent) 0%, #8b733d 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(201, 169, 89, 0.3);
}

.card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 89, 0.4);
}

/* Price Tags */
.card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--website-accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 1rem 0;
}

/* Feature Lists */
.card ul.features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.card ul.features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.card ul.features li:before {
    content: '⚜';
    color: var(--website-accent);
    margin-right: 0.75rem;
    font-size: 1.2em;
}

/* Base structure */
html,
body {
    height: 100%;
    background-color: var(--wbesite-background-color);
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    color: #fff;
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
    flex-direction: row;
    width: 100%;
}

.cover-container {
    max-width: 42em;
}

/* Header */
.masthead {
    padding: 0.5rem 2rem;
    background-color: var(--wbesite-background-color);
    box-shadow: 0 0 5rem rgba(0, 0, 0, .5);
    z-index: 30;
    position: fixed;
    width: 100%;
}

.masthead-brand {
    margin-bottom: 0;
}

.dropdown-menu {
    background-color: var(--wbesite-background-color);
}

.nav-masthead .nav-link {
    padding: .25rem 0;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    background-color: transparent;
    border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
    border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
    margin-left: 1rem;
}

.nav-masthead .active {
    color: #fff;
    border-bottom-color: #fff;
}

@media (min-width: 48em) {
    .masthead-brand {
        float: left;
    }
    .nav-masthead {
        float: right;
    }
}

@media (max-width: 768px) {
    .motto-container {
        display: none;
    }
}

/* Form Controls */
.form-control:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.form-control::placeholder {
    color: #6c757d;
}

.input-group .btn:disabled {
    cursor: not-allowed;
}

.form-check-input-success:checked {
    background-color: #198754 !important;
    border-color: #198754 !important;
}

.form-check-input-primary:checked {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.form-check-input-warning:checked {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.form-check-input:not(:disabled) {
    cursor: pointer;
    opacity: 1;
}

.form-check-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white !important;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--bs-primary);
    box-shadow: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive utilities */
@media (max-width: 768px) {
    .main-page {
        padding-top: 4em;
    }
    
    .card {
        margin: 0.5rem 0;
    }
    
    .table-responsive {
        margin: 0 -15px;
    }
}

/* Feed Card Styles */
#feedCardsContainer {
    margin: 0 auto;
    max-width: 1600px;
}

.feed-card {
    background: var(--website-secondary-color);
    border: 2px solid rgba(201, 169, 89, 0.2);
    border-radius: 1em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.feed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(201, 169, 89, 0.4);
}

.feed-card .card-header {
    background: linear-gradient(135deg, var(--website-accent) 0%, #8b733d 100%) !important;
    padding: 0.75rem 1rem;
}

.feed-card .card-header a {
    color: var(--text-primary);
    text-decoration: none;
}

.feed-card #trip-infos {
    background: rgba(0, 0, 0, 0.2);
}

.feed-card .carousel-item {
    min-height: 200px;
}

.feed-card .media-wrapper {
    max-height: 300px;
    overflow: hidden;
}

.feed-card .media-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 576px) {
    .feed-card {
        margin: 0.5rem 0;
    }
}

/* Trip Characteristics Styles */
.characteristics-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.characteristic-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Make the characteristics container look better on small screens */
@media (max-width: 768px) {
    .d-flex.flex-wrap.justify-content-center {
        gap: 1rem !important;
    }
    
    .d-flex.align-items-center.gap-2 {
        min-width: max-content;
    }
}
