/* your custom style here */
@import url("https://fonts.googleapis.com/css2?family=Gabriela&display=swap");
* { font-family: Gabriela, serif; }
.mention {
    color: #3498db; /* Or any color you prefer */
    font-weight: bold;
    background-color: #ecf0f1;
    padding: 1px 4px;
    border-radius: 3px;
    cursor: pointer;
}

.mention:hover {
    text-decoration: underline;
}
/* Reactions container below the message */
.message_reactions {
    margin-top: 5px;
}
.reaction_item {
    display: inline-block;
    background: #f0f2f5;
    border-radius: 10px;
    padding: 2px 8px;
    margin-right: 5px;
    cursor: pointer;
    font-size: 12px;
    border: 1px solid #f0f2f5;
}
.reaction_item:hover {
    background: #e4e6eb;
}
.reaction_item .reaction_count {
    margin-left: 4px;
    color: #65676b;
    font-weight: bold;
}
.reaction_item.my_reaction {
    background: #e7f3ff;
    border-color: #1877f2;
}
.reaction_item.my_reaction .reaction_count {
    color: #1877f2;
}

/* Add reaction button and picker */
.add_reaction_button {
    cursor: pointer;
    color: #888;
    padding: 0 5px;
    display: none; /* Hide by default */
}
.ch_logs:hover .add_reaction_button {
    display: inline-block; /* Show on hover */
}
.emoji_picker {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
}
.emoji_choice {
    cursor: pointer;
    font-size: 20px;
    padding: 4px;
    display: inline-block;
}
.emoji_choice:hover {
    transform: scale(1.2);
}
.poll-box {
    background: #1e1e2f;
    border: 2px solid #444;
    border-radius: 12px;
    padding: 10px 15px;
    margin: 5px 0;
    color: #fff;
    animation: fadeIn 0.5s ease-in-out;
    max-width: 300px;
}

.poll-question {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.poll-option {
    background: linear-gradient(to right, #4e54c8, #8f94fb);
    border: none;
    padding: 6px 10px;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.poll-option:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, #ff5f6d, #ffc371);
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* User Item */
.user_item_data, .user_item_name {
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 5px;
    text-align: center;
}

/* Panel Selected */
.panel_selected {
    background: var(--main-color-dark);
    border: 4px solid #000;
    border-radius: 35px;
}

/* Modal CSS */
.small_modal_out, .large_modal_out, .over_modal_out, .over_emodal_out {
    animation: fadeIn 0.3s;
}

.small_modal_in, .over_modal_in, .over_emodal_in {
    animation: zoomIn 0.3s;
}

.large_modal_in {
    border-radius: 3px;
    margin: 5% auto;
    max-width: 500px;
    width: 98%;
    animation: zoomIn 0.3s;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Private Logs */
.private_avatar {
    display: table-cell;
    width: 56px;
    vertical-align: top;
    padding: 0 5px;
}

.private_content {
    display: table-cell;
    vertical-align: top;
}

/* Hunter Private */
.hunter_private {
    max-width: 200px;
    display: inline-block;
    margin-top: 10px;
    word-wrap: break-word;
    border-radius: 0 14px 14px 14px;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Target Private */
.target_private {
    max-width: 200px;
    display: inline-block;
    margin-top: 10px;
    word-wrap: break-word;
    float: right;
    border-radius: 14px 0 14px 14px;
    box-shadow: 0 0 14px rgba(0, 0, 255, 0.8);
    font-size: 14px;
}

/* Avatar Private */
.avatar_private {
    display: block;
    height: 42px;
    width: 42px;
    border-radius: 8px;
    overflow: hidden;
}

/* Chat Avatar Container */
.chat_avatar { 
    display: table-cell; 
    width: 50px;
    vertical-align: top; 
    position: relative; 
}

/* Stylish Circular Avatar */
.cavatar, .user_item_avatar .acav { 
    height: 50px;
    width: 50px;
    border-radius: 50%; /* Circle shape */
    display: block; 
    overflow: hidden; 
    cursor: pointer; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cavatar:hover, .user_item_avatar .acav:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

/* Chat Text */
.my_text { 
    display: table-cell; 
    vertical-align: top; 
    padding: 0 0 0 8px;
    position: relative; 
}

.my_text .username { 
    font-size: 14px;
    font-weight: bold;
}

/* User List Avatar */
.user_item_avatar { 
    display: table-cell; 
    vertical-align: middle; 
    width: 48px; 
    position: relative; 
}

/* User Rank Badge */
.list_rank { 
    height: 18px;
    width: auto;
    display: inline-block;
    padding: 0 6px;
    line-height: 18px;
    font-size: 12px;
    border-radius: 4px;
    
.badge-award {
    background: #2b2d42;
    color: #fff;
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: bold;
    animation: glowBadge 1.5s infinite;
    max-width: fit-content;
    margin: 5px auto;
}

.badge {
    background: gold;
    color: black;
    padding: 2px 8px;
    border-radius: 5px;
}

@keyframes glowBadge {
    0%, 100% { box-shadow: 0 0 5px gold; }
    50% { box-shadow: 0 0 15px gold; }
}
/* /say: glowing blue gradient text with subtle pulse */
.animated-say span {
    border-radius: 0 10px 10px 10px;
    padding: 2px 10px;
    margin-top: 5px;
    display: inline-block;
    background-image: linear-gradient(315deg, #0B37E0, #0BE054);
    color: white;
    font-weight: bold;
    animation: pulseGlow 2.5s ease-in-out infinite;
    box-shadow: 0 0 8px #0B37E0, 0 0 12px #0BE054;
}

/* /alert: bouncing orange text with glowing green icon */
.animated-alert {
    color: orange !important;
    animation: bounce 1.5s infinite;
}

.animated-alert b:first-child {
    color: #00ff00 !important;
    text-shadow: 0 0 8px #00ff00;
}

/* /say2: red-purple gradient with sliding shimmer effect */
.animated-say2 span {
    border-radius: 0 10px 10px 10px;
    padding: 2px 10px;
    margin-top: 5px;
    display: inline-block;
    background-image: linear-gradient(315deg, #fa3d3d, #6000de);
    color: white;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.animated-say2 span::before {
    content: "";
    position: absolute;
    top: 0; left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    transform: skewX(-20deg);
    animation: shimmer 2s infinite;
}

/* Animations */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 8px #0B37E0, 0 0 12px #0BE054;
    }
    50% {
        box-shadow: 0 0 20px #0B37E0, 0 0 30px #0BE054;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes shimmer {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}
/* /shout: big bold red text with shake animation */
.animated-shout span {
    border-radius: 0 15px 15px 15px;
    padding: 5px 15px;
    margin-top: 5px;
    display: inline-block;
    background-color: #e03c3c;
    color: white;
    font-weight: 900;
    font-size: 1.2em;
    text-transform: uppercase;
    animation: shake 0.6s infinite;
    box-shadow: 0 0 10px #e03c3c;
}

/* /warn: yellow/orange background with pulse glow and icon */
.animated-warn span {
    border-radius: 0 12px 12px 12px;
    padding: 4px 12px;
    margin-top: 5px;
    display: inline-block;
    background-color: #ffae42;
    color: #663300;
    font-weight: bold;
    animation: pulseGlowWarn 2s ease-in-out infinite;
    box-shadow: 0 0 10px #ffae42;
}

/* /info: cool blue with slide-in from left and icon */
.animated-info span {
    border-radius: 0 10px 10px 10px;
    padding: 3px 10px;
    margin-top: 5px;
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    font-weight: 600;
    animation: slideInFromLeft 0.7s ease forwards;
}

/* Animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

@keyframes pulseGlowWarn {
    0%, 100% {
        box-shadow: 0 0 10px #ffae42;
    }
    50% {
        box-shadow: 0 0 20px #ffae42;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-150%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


    
    
    
    
    
}


.list_rank {
  height: 19px; /* increased from 15px */
  width: auto;
  display: inline-block;
}

.chat_rank {
  display: inline-block;
  width: auto;
  height: 20px; /* increased from 11px */
  margin: 0 5px 0 0; /* slightly increased horizontal spacing */
}

.post_video {
  display: table;
  table-layout: fixed;
  height: auto;
  width: 200px;
  margin: 1px 0;
}



.private_logs .chat_image {
  height: 70px;
  width: 100%;
  object-fit: cover;
  filter: blur(5px);
}
/*
** Boom Wall General Styling
*/

/* Container for the new post input field */
.wall_input_container {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
}

/* The textarea for writing a new wall post */
.wall_textarea {
    width: 100%;
    height: 70px;
    padding: 10px;
    background-color: #2a2a2e;
    border: 1px solid #444;
    border-radius: 4px;
    color: #ccc;
    resize: vertical;
    margin-bottom: 10px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

/* Main container for the list of wall posts */
#wall_post_list {
    max-height: 400px;
    overflow-y: auto;
}

/* A single wall post item */
.wall_post {
    display: flex;
    padding: 15px 5px;
    border-bottom: 1px solid #333;
    align-items: flex-start;
}

.wall_post:last-child {
    border-bottom: none;
}

/* Avatar section of the post */
.wall_avatar {
    width: 45px;
    flex-shrink: 0; /* Prevents the avatar from shrinking */
    margin-right: 15px;
}

.wall_avatar img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    cursor: pointer;
}

/* Main content section of the post (header and text) */
.wall_content {
    flex-grow: 1;
    width: 100%;
}

/* Header containing username, date, and delete button */
.wall_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.wall_header .username {
    font-size: 14px;
    font-weight: bold;
}

.wall_header .date {
    font-size: 11px;
    color: #666;
    margin-left: 10px;
}

/* The actual text content of the wall post */
.wall_text {
    color: #cecece;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap; /* Respects line breaks */
    word-wrap: break-word; /* Prevents long words from overflowing */
}

/* Delete button for wall posts */
.wall_delete {
    color: #555;
    cursor: pointer;
    font-size: 12px;
    padding: 5px;
}

.wall_delete:hover {
    color: #c93a3a;
}
.shadow_muted_log {
    opacity: 0.5;
    background-color: #333;
    border-left: 3px solid #ffc107;
}
/* Styles for the Raid Boss Mini-Game */
.raid_announcement {
    padding: 10px;
    border-radius: 5px;
    background-color: #3b0000;
    border: 1px solid #8d0000;
    color: #fff;
    text-align: center;
    margin: 5px 0;
}
.raid_boss_image {
    max-width: 80px;
    margin-bottom: 10px;
}
.raid_hp_text {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}
.raid_health_bar_container {
    width: 100%;
    height: 15px;
    background-color: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #444;
    overflow: hidden;
}
.raid_health_bar {
    height: 100%;
    background: linear-gradient(to right, #ff4141, #ff8383);
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
}
.ch_logs.raid_attack .chat_message {
    font-style: italic;
    color: #ffb4b4 !important;
}
.ch_logs.raid_boss .chat_message {
    background: none !important;
    padding: 0 !important;
}
.ship_pair_leaderboard {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2e2e2e;
}
.ship_pair_leaderboard:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.ship_rank {
    font-size: 20px;
    font-weight: bold;
    color: #a5a5a5;
    width: 30px;
    text-align: center;
}
.ship_names {
    display: flex;
    align-items: center;
    font-weight: bold;
}
.ship_names p {
    margin: 0 4px;
}
.ship_names p:nth-child(2) {
    color: #ff4d4d;
}
.lie_detector_log {
    background: #36393f;
    border-left: 3px solid #7289da;
    padding: 10px;
    border-radius: 5px;
}
.ld_header {
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.ld_header_icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}
.ld_question, .ld_answer {
    background: #2c2f33;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    color: #dcddde;
}
.ld_question q, .ld_answer q {
    font-style: italic;
}
.ld_verdict {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}
.lie_detector_log .reg_button {
    margin-top: 10px;
    position: relative;
    z-index: 10;
}
/* NEW - Click to view image styles */
.view-image-link {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    padding: 5px 0;
}

.chat_image.hidden-by-default {
    display: none !important; /* Use !important to override other styles */
    max-width: 100%;
    height: auto;
    margin-top: 5px;
    border-radius: 5px;
}





/* Custom CSS for User ID 1 */
div[data-user-id="1"] .profile_top {
  /* This targets the top section of the profile */
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

div[data-user-id="1"] .profile_background {
  /* This targets the cover image or background */
  transition: transform 0.5s ease-in-out;
  filter: grayscale(50%);
}

div[data-user-id="1"] .profile_background:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

div[data-user-id="1"] .avatar_profile {
  /* This targets the user's avatar */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  border: 4px solid #fff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.7), 0 0 25px rgba(0, 255, 255, 0.5);
}

div[data-user-id="1"] .avatar_profile:hover {
  transform: rotate(360deg) scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 1), 0 0 40px rgba(0, 255, 255, 0.8);
}

div[data-user-id="1"] .pro_name {
  /* Styling for the user's name */
  font-family: 'Arial Black', sans-serif;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
  animation: neon-glow 1.5s ease-in-out infinite alternate;
}

/* Keyframe animation for the neon glow effect */
@keyframes neon-glow {
  from {
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
  }
  to {
    text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff, 0 0 50px #00ffff;
  }
}