/* 🌷 Import Pretty Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');

/* 🌷 Apply font to the whole page */
body, td, th, p, div {
    font-family: 'Playfair Display', serif !important;
}

/* 🦋 Replace Gold Beetle (GB) with Butterfly */
img[src*="icon-beetle-gold.png"] {
    content: url('https://www.dropbox.com/scl/fi/96vw7p73vmmg5mv1yf8rs/pinkbutterfly.png?rlkey=o3q7a7rgk0x9pwfa7e65t4fp4&raw=1');
    width: 20px;
    height: 20px;
    transition: filter 0.3s ease, transform 0.3s ease;
}
img[src*="icon-beetle-gold.png"]:hover {
    filter: drop-shadow(0 0 5px white);
    transform: scale(1.1);
}

/* 🦋 Replace Silver Beetle (SB) with Butterfly */
img[src*="icon-beetle-silver.png"] {
    content: url('https://www.dropbox.com/scl/fi/7kgokbol5xtvrf132unez/silverbutterfly.png?rlkey=6gjq57qod2m4usgy5p7ea4zzw&raw=1');
    width: 20px;
    height: 20px;
    transition: filter 0.3s ease, transform 0.3s ease;
}
img[src*="icon-beetle-silver.png"]:hover {
    filter: drop-shadow(0 0 5px white);
    transform: scale(1.1);
}

/* 🌸 Background Image */
body {
    background-image: url('https://dl.dropboxusercontent.com/s/7jkm9tdsi11aqxn/pink-skyline.jpg?dl=0');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #fbeff3; /* fallback color */
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.4); /* soft white overlay */
    z-index: -1;
    backdrop-filter: blur(2px); /* slight blur for dreamy effect */
}

/* 💌 Top Header Bar  */
.topbar {
    background-color: #f1c1c8!important;
    color: #3e2a36 !important;
    font-size: 13px !important;
    border-bottom: 1px solid #d3949c;
    backdrop-filter: blur(2px);
}

.topbar a {
    color: #7a2e44 !important;
    font-weight: bold;
    transition: text-shadow 0.3s ease;
}

.topbar a:hover {
    text-shadow: 0 0 5px white;
}

/* 🍥 Navbar Bar (Den / Crossroads / Hoard / etc) */
.navbar {
    background-color: #f1c1c8 !important;
    border: none !important;
    border-bottom: 1px solid #e0a8b0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

.navbar li a {
    color: #7a2e44 !important;
    font-weight: bold;
    transition: text-shadow 0.3s ease;
}

.navbar li a:hover {
    background-color: #e897a3 !important;
    color: white !important;
    text-shadow: 0 0 5px white;
}

/* 🐰 Adjusted Bunny Logo Positioning */
img[src*="logo-full-2.png"] {
    content: url('https://www.dropbox.com/scl/fi/vwa4wz28tmf0rif5z6d81/bunny.png?rlkey=uwao9tbbbzfu6yqtiq64jn7kh&raw=1');
    width: 120px;
    height: auto;
    position: relative;
    top: -10px; /* raised higher */
    left: 5px;
}

/* 🧭 Breadcrumb Bar Styling */
.breadcrumb {
    background-color: #f6d5da;
    color: #4a2c31;
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 13px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}

/* 🧭 Breadcrumb Link Styling */
.breadcrumb a {
    color: #4a2c31;
    text-decoration: none;
    transition: all 0.3s ease;
}
.breadcrumb a:hover {
    color: #fff;
    text-shadow: 0 0 6px white;
}

/* 🌸 Sidebar Background */
.sidebar.col-md-3 {
	background: none;
}

/* 🌸 Sidebar Inner Boxes */
.col-md-3 .panel {
	border: none;
	background: #f6d5da;
	box-shadow: 1px 1px 3px #755768;
	color: #7a2e44;
}

/* 🌸 Sidebar Inner Text */
.col-md-3 .panel,
.col-md-3 .panel * {
	color: #7a2e44 !important;
}

/* 🌸 Sidebar Headers (Achievements, Bookmarks, etc.) */
.sidebar h3 {
	color: #7a2e44 !important;
	text-shadow: 0 0 5px white;
	font-size: 20px;
}

/* 🌸 Dotted line above chat on small screens */
.clear {
	border-color: #7a2e44 !important;
}

/* 🌸 Full Chat Interface Container - Soft Shadow & Rounded */
#fra_chatContainer {
    background-color: #f6d5da !important;
    border: none !important;
    border-radius: 8px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 1px 1px 3px #755768;
}

/* 🌸 Match Chat Box Background + Rounded Corners */
html.nolayout body {
    background-color: #f6d5da !important;
    background-image: none !important;
    border-radius: 12px;
    padding: 4px;
}

/* 🌸 Chat Message Box Container */
#chatMessageContainer {
    border: none !important;
    background: none !important;
    padding: 0;
}


/* 🌸 Actual Chat Scroll Area */
.s-chat-message {
    background-color: #f6d5da !important;
    color: #7a2e44 !important;
    padding: 4px 6px;
    border-radius: 6px;
}

/* 🌸 Alternating Chat Lines */
.s-chat-message:nth-child(even) {
    background-color: #fbe8eb !important;
}

.s-chat-message:nth-child(odd) {
    background-color: #f6d5da !important;
}

/* 🌸 User Highlight (when pinged) */
:root {
    --user-highlight-color: #f7f9d2 !important;
}

/* 🌸 Chat Input Box */
#chatMessageContainer + form textarea {
    background-color: #f6d5da !important;
    color: #7a2e44 !important;
    border: 1px solid #c89ba6;
    border-radius: 6px;
}

/* 🌸 Chat Text Glow on Hover */
.s-chat-message:hover {
    text-shadow: 0 0 4px white;
}

/* 🌸 Chat Username Color */
a:link, a:visited, a:active {
    color: #7a2e44 !important;
    text-decoration: none;
    font-weight: bold;
    transition: text-shadow 0.3s ease;
}

a:hover {
    text-shadow: 0 0 4px white;
}

/* 🌸 Chat Channel Dropdown Button */
#label_currentChannel {
    background-color: #f6d5da;
    color: #7a2e44;
    border: 1px solid #c89ba6;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 13px;
    font-family: 'Playfair Display', serif;
    width: 100%;
    text-align: left;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

/* 🌸 Hover Glow for Dropdown */
#label_currentChannel:hover {
    box-shadow: 0 0 6px white;
    cursor: pointer;
}

/* 🌸 Channel Selector Button */
#fra_chatContainer .channelMenu .channelSwitcher {
    background-color: #f6d5da;
    color: #7a2e44;
    border: 1px solid #c89ba6;
    border-radius: 6px;
    padding: 4px 12px;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    transition: background-color 0.2s ease, text-shadow 0.2s ease;
}

/* 🌸 Hover for Channel Selector */
#fra_chatContainer .channelMenu .channelSwitcher:hover {
    background-color: #fbe8eb;
    text-shadow: 0 0 4px white;
}

/* 🌸 Active Channel Style */
#fra_chatContainer .channelMenu .channelSwitcher.active {
    background-color: #f7f0f5 !important;
    color: #7a2e44 !important;
    border: 1px solid #c89ba6;
    text-shadow: 0 0 3px white;
}

/* 🪄 Unified Layout Glass Effect - Nav Only */
.row:first-of-type {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px !important; /* keep the bubble! */
  margin: 10px auto;
}

/* 💫 Unified Layout Glass Effect - All Others (no padding) */
.row:not(:first-of-type) {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 0 !important;
  margin: 10px auto;
}

/* 🔧 Clear Sidebar and Main Panel Backgrounds */
.main, #pageContainer, .col-md-3, .col-md-9 {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}


/* 🦁 Force Den Name Styling */
h1 {
  font-family: 'Playfair Display', serif !important;
  font-size: 28px !important;
  text-align: center !important;
  color: #7a2e44 !important;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.9) !important;
  background: transparent !important;
  border: none !important;
  margin-top: 10px !important;
  margin-bottom: 15px !important;
}

/* 💬 Comment Section Container */
#commentBox {
  border-radius: 12px !important;
  padding: 0 !important; /* no padding here */
  border: 2px solid #e4bfc4 !important; /* pretty pink border */
  background: #fbe8eb !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  color: #7a2e44 !important;
  font-size: 14px !important;
}

/* 💬 Comment Inner Padding */
#commentBox > div {
  padding: 8px 12px !important; /* give padding to each comment */
}

/* 💬 Alternating Comment Colors */
#commentBox > div:nth-child(even) {
  background-color: #f6d5da !important;
}

#commentBox > div:nth-child(odd) {
  background-color: #fbe8eb !important;
}

/* 💌 Comment Input Box */
#comment {
  width: 85% !important;
  padding: 8px 12px !important;
  border: 1px solid #e8c5cc !important;
  border-radius: 8px !important;
  background: #fff0f3 !important;
  color: #7a2e44 !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 14px !important;
  outline: none !important;
}

/* 🌸 Pretty Comment Submit Button */
input[type="submit"] {
  background: #f6d5da !important;
  border: 1px solid #e4a0b9 !important;
  color: #7a2e44 !important;
  font-weight: bold !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  text-shadow: none !important;
  background-image: none !important;
  filter: none !important;
}

/* 🍓 Override table backgrounds to pastel pinks */
.table .right,
div .right {
  background: #fbe8eb !important;
}

.inner-table .left {
  background: #f6d5da !important;
}

.inner-table .right {
  background: #fbe8eb !important;
}

/* 🌸 Add a soft border and subtle shadow to table cells */
.table .left,
.table .right,
div .left,
div .right,
.inner-table .left,
.inner-table .right {
  border: 1px solid #e4bfc4 !important; /* soft pink border */
  box-shadow: 0 1px 4px rgba(200, 150, 160, 0.25);
  border-radius: 6px;
}

/* 🌸 Entire Table Wrap (for smooth corners) */
.table {
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid #e4bfc4;
  border-radius: 12px;
  overflow: hidden;
}

.table td.right {
  border: none !important;
  border-radius: 0 !important;
}

/* 🌸 Table Top Rows */
.table .top,
.table th {
  background-color: #f1c1c8 !important;
  color: #7a2e44 !important;
  padding: 8px 15px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
}

/* 🌸 Table Bottom Rows */
.table .bottom {
  background-color: #f6d5da !important;
  color: #7a2e44 !important;
  text-align: center;
  font-weight: bold;
  padding: 8px;
}

/* 🌸 Caves Background */
.cave-grid {
  background: #f6d5da !important; /* Soft pink */
  border: 1px solid #e4bfc4 !important; /* Match your pastel border color */
  border-radius: 8px; /* Keep it slightly rounded if you want */
}

/* 🌸 Glow Effect on Cave Name Hover */
.cave-grid a:hover {
  text-shadow: 0 0 8px white;
}

/* 🌸 Replace Normal Cave Images */
.cave-grid img[src*="cavedefault.jpg"] {
  content: url('https://www.dropbox.com/scl/fi/424hu3cix7npc6mrqdzfs/pink-clouds.webp?rlkey=cmye6sv51zi5r7su84tnbui2m&raw=1');
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px; /* optional, makes it soft! */
}

/* 🌸 Unimportant Info Boxes (SParring - right_odd)  */
.table .right_odd {
  background: #fbe8eb !important;
  color: #7a2e44 !important;
}

/* 🌸 Left Side of Info Sparring Boxes */
.table td {
  color: #7a2e44 !important;
}

/* 🌸 Featured Notice Box  - Play All*/
.feature {
  background: #fbe8eb !important;
  border: 1px solid #e4bfc4 !important;
  color: #7a2e44 !important;
  border-radius: 6px;
  padding: 6px 10px;
}

/* 🌸 Feature Box Title Fix */
.feature h3 {
  color: #7a2e44 !important;
}

/* 🌸 Allies Stripes Background Fix */
.table .left, div .left {
  background: #fbe8eb !important;
}

/* 🌸 Fix brown headers and add glow on hover */
h1, h2, h3, h4, h5, h6 {
  color: #7a2e44 !important;
  transition: text-shadow 0.3s ease;
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
  text-shadow: 0 0 10px white;
}

/* 🌸 Item toggle headers (hoards, stacks, etc.) */
.item-header {
    background: #f6d5da !important; /* medium pink */
    color: #7a2e44 !important;
    font-weight: bold;
    font-size: 11px;
    padding: 3px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-bottom: 6px;
    transition: text-shadow 0.3s ease;
}

.item-header:hover {
    text-shadow: 0 0 8px white;
}

/* 🌸 Toggle switch pastel fix */
input:checked + .slider {
    background-color: #c6788b !important; /* richer pastel pink */
}

.slider {
    background-color: #ccc;
    transition: 0.4s;
}

.slider:before {
    background-color: white;
    transition: 0.4s;
}

.slider.round {
    border-radius: 17px;
}

.slider.round:before {
    border-radius: 50%;
}

/* 🌸 Solid pastel pink progress bars with white text */
.progress .progress-bar {
    background-color: #d48b94 !important;
    color: #ffffff !important;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .1);
}


/* 🌸 Sticky Chat Alert */
#chatMessagePinned.s-chat-message__pinned {
  background: #b67c88 url(//static.lioden.com/images/layout/sticky.png) no-repeat 10px 6px !important;
  border-bottom: 2px solid #7a2e44 !important;
  color: white !important;
}

/* 🌸 Two-column layout under den name */
.den-box-container {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 🧺 Individual text box */
.den-box {
  background: #fbe8eb;
  border: 2px solid #e4bfc4;
  border-radius: 12px;
  padding: 12px;
  width: 45%;
  min-width: 250px;
  color: #7a2e44;
  box-shadow: 1px 1px 4px #caaab0;
}

/* 🌸 Header inside the box */
.den-box h2 {
  margin-top: 0;
  font-size: 16px;
  color: #7a2e44;
  border-bottom: 1px solid #e4bfc4;
  padding-bottom: 4px;
  margin-bottom: 6px;
}