
body.village  {
    background: #222222;
    background: radial-gradient(circle, rgb(44, 42, 42) 0%, rgb(0, 0, 0) 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.village .navbar {
    height: 3rem;
    background-color: #221e18;
    border-bottom: 1px solid #555;
}

.village .underbar-left {
    background: rgba(100, 100, 100, .1);
    text-align: center;
    color: #126091;
    /*font-size: 70px;*/
    border: rgba(255, 255, 255, .1) solid 1px;
}
.village .underbar-middle {
    padding-left: 2vh;
    background: rgba(100, 100, 100, .05);
    border-top: rgba(255, 255, 255, .1) solid 1px;
    border-bottom: rgba(255, 255, 255, .1) solid 1px;
}
.village .h3, .village h3 {
    font-size: 1.0rem;
    /*text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);*/
}
.village .h4, .village h4 {
    /*text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);*/
}
.village .h5, .village h5 {
    /*text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);*/
}
.village .h6, .village h6 {
    /*text-shadow: 0 0 5px rgba(255, 255, 255, 0.25);*/
}
.village .h7, .village h7 {
    /*text-shadow: 0 0 5px rgba(255, 255, 255, 0.25);*/
}
.village .underbar-middle .title-description {
    /*padding: 1vh 1vh 1vh 0;*/
    font-size: 0.5rem;
}
.village .underbar-middle .title-description p {
    margin: 0;
}
.village .underbar-middle h1 {
    color: #fc4c01;
}
.village .underbar-right {
    background: rgba(100, 100, 100, .1);
    border: rgba(255, 255, 255, .1) solid 1px;
}

.village .content-left {
    background: rgba(14, 14, 14, .1);
    border-right: rgba(155, 155, 155, .1) solid 1px;
}

.village .content-right {
    background: rgba(14, 14, 14, .1);
    border-left: rgba(155, 155, 155, .1) solid 1px;
}

.village .breadcrumb {
    font-size: 12px;
    opacity: 0.9;
}

.village .cols, .village .columns {
    margin-left: 0;
    margin-right: 0;
}

.village .column, [class~=col-] {
    padding-left: 0;
    padding-right: 0;
}

.village .panel {
    /*margin-top: 2vh;*/
    /*margin-left: 1vh;*/
    /*margin-right: 1vh;*/
    background: none;
    border: none;
    border-bottom: rgba(255, 255, 255, .1) solid 1px;
    border-radius: 0;
    /*box-shadow: rgba(0, 0, 0, .5) 0px 0px 10px;*/
}

.village .card {
    /*margin-top: 1.3vh;*/
    /*margin-left: 1vh;*/
    /*margin-right: 1vh;*/
    background: none;
    border: none;
    border-bottom: rgba(255, 255, 255, .1) solid 1px;
    border-radius: 0;
    /*box-shadow: rgba(0, 0, 0, .5) 0px 0px 10px;*/
}

.village .form-input {
    background: rgba(15, 15, 15, .1);
    border: rgba(255, 255, 255, .1) solid 1px;
    border-radius: 10px;

}

.village .tile-title {
    margin-bottom: 1vh;
}

.village .tile-subtitle {
    opacity: 0.8;
}

.village .avatar.avatar-symbol {
    background-color: unset;
    text-shadow: #fc4c0144 0 0 20px;
}

.village .navbar-section {
    flex: unset;
}

.village .grid-cell {
    transition: all 0.3s ease;
    cursor: pointer;
}

.village .grid-cell .tile-content .chip {
    /*margin-top: 0.8em;*/
    /*color: #fff;*/
    background-color: unset;
}

.village .grid-cell .tile-content .chip .avatar {
    background: none;
}

.village .grid-cell .tile-content h5 {
    line-height: 1.0rem; font-size: .8rem; color: white; margin: 0 0 0;
}

.village .grid-cell .tile-content h5 a {
    color: white;
}

.village a.logo img {
    /*filter: drop-shadow(0 0 10px #aaaaaaaa);*/
}

/* BLOG */

.village .card, .blog_post_page.panel {
    box-shadow: none;
}


.village .card .card-image:first-child img {
    border-top-left-radius: .5rem;
    border-top-right-radius: 0.5rem;
}

.village .link-frame p  {
    margin: 0 0 0.7rem;
}

.village .panel .panel-body.panels {
    overflow-y: unset;
}

.village .popover .popover-container {
    min-width: 320px;
    width: unset;
}

.village .tile.tile-centered {
    margin-bottom: 3vh;
}

.village .table td {
    border-top: .05rem solid #595959;
    border-bottom: none;
}
.village .table th {
    border-bottom: none;
}

.village .table td a span  {
    color: #aaaaaa;
}

.village .reactions {
    display: flex;
    margin-bottom: 4px;
}

.village .chip.reactions-button, .village .brickreaction-button, .village .commentreaction-button {
    color: whitesmoke;
    padding: 5px 10px;
    border: none;
    background: none;
    cursor: pointer;
}

.village .card-title.h5 h4 {
    color: whitesmoke;
}

.village .avatar-house.avatar-empty {
    background-color: #232322;
}

.village .modal.active .modal-overlay, .village .modal:target .modal-overlay {
    background: unset;
    backdrop-filter: blur(5px);
}

.village .modal-container {
    background: #272727;
    border-radius: 0.9rem;
    box-shadow: none;
}

.btn {
    background: #05050555;
    border: .05rem solid #424242;
}

.village .btn.btn-link {
    background: unset;
    border: unset;
}

.village .chip {
    background: #05050555;
    border: .05rem solid #424242;
    color: #b1b1b1;
}

.village .tile.tile-centered .tile-subtitle, .tile.tile-centered .tile-title {
    text-overflow: unset;
    white-space: unset;
}

.empty {
    background: rgba(0, 0, 0, 0.2);
    border: rgba(255, 255, 255, .2) dashed 2px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, .5) 0px 0px 10px;
    padding: 2vh;
    margin: 1vh;
}

.village .form-label label {
    font-size: .7rem;
    font-weight: 600;
}

.village .panel .panel-body {
    overflow-y: unset;
}

#countdown {
    font-size: 2em;
    padding: 20px;
    border: 2px solid #333;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}
.time-unit {
    margin: 0 5px;
}

.village .dropdown .menu {
    width: 350px;
}

.village .toast {
    background: rgba(88, 138, 31, 0.95);
    /*border-radius: 5%;*/
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.village .avatar-dark {
    background-color: #3d3d3d;
}

.village .btn.btn-special {
    box-shadow: 0 0 2.2rem rgb(255 132 0 / 99%);
    border: none;
}

.village .tile.empty-cell {
    cursor: not-allowed;
    /*border: rgba(197, 197, 197, 0.2) dashed 2px;*/
}


/* Emoji picker styles */
.village .emoji-button-inline {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    z-index: 10;
}

.village .emoji-button-inline:hover {
    background-color: #f5f5f5;
}

.village .input-group-with-emoji {
    position: relative;
}

.village .input-group-with-emoji .form-input {
    padding-right: 3rem;
}

.village emoji-picker {
    --border-radius: 8px;
}





/* comment edit replacing text */
.village .comment-normal-view, .comment-edit-view {
    transition: opacity 0.2s ease-in-out;
    background: linear-gradient(0, #00000088, #00000044);
}

.village .brick-item.expanded .brick-header {
    background: linear-gradient(0, #44444488, #44444444);
}

.village .brick-item.expanded .panel-body.brick-text {
    background: linear-gradient(0, #00000088, #00000044);
}

.village .comment-edit-trigger:hover {
    background-color: #f5f5f5;
    border-radius: 4px;
}

.village .comment-edit-view textarea {
    border: 2px solid #5755d9;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.village .comment-edit-view .form-group {
    margin-bottom: 0.5rem;
}

.village .tile-subtitle.comment-edit-trigger:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 0.25rem;
    margin: -0.25rem;
}


.village .brick-header-title:hover {
    color: #9a9a9a;
}

/* brick edit replacing text */
.village .brick-normal-view, .brick-edit-view {
    transition: opacity 0.2s ease-in-out;
    width: 100%;
}

.village .brick-edit-trigger {
    text-decoration: none;
    font-size: 0.8rem;
}

.village .brick-edit-trigger:hover {
    color: #5755d9;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.village .brick-edit-view textarea {
    border: 2px solid #5755d9;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.village .brick-edit-view .form-group {
    margin-bottom: 1rem;
}

.village .brick-edit-view .form-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}



/* collapsable comment input styles */
.village .comment-input-collapsed {
    transition: all 0.2s ease-in-out;
}

.village .comment-input-collapsed:hover {
    border-color: #ffffff;
}

.village .comment-input-collapsed-view, .comment-input-expanded-view {
    transition: opacity 0.2s ease-in-out;
}

.village .comment-input-expanded-view textarea {
    border: 2px solid #5755d9;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.village .comment-form-container .form-group {
    margin-bottom: 0.5rem;
}

.village .input-group-addon {
    border: 1px solid #373738;
    border-left: none;
    padding: 0.25rem 0.75rem;
    border-radius: 0 0.25rem 0.25rem 0;
}

/*Add CSS for Village Card Hover Effects*/
.village .village-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-width: 4px;
}

.village .village-card:hover .avatar {
    transform: scale(1.1);
}

/* load-more */
.village .brick-item {
    transition: all 0.3s ease;
}

.village .brick-item:hover {
    /*transform: translateY(-2px);*/
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#load-more-btn {
    transition: all 0.3s ease;
}

#load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

#load-more-btn:disabled {
    opacity: 0.7;
    transform: none;
}

.village .load-more-spinner .loading {
    border-color: white;
    border-right-color: transparent;
}



.village .brick-overlay {
    position: relative;
    overflow: hidden;
}

.village .brick-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10;
    pointer-events: none;
}

.village .brick-lock-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    color: #ffffff;
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.village .brick-locked-content {
    filter: blur(4px);
    opacity: 0.3;
    pointer-events: none;
    user-select: none;
}

/* Alternative styling with gradient overlay */
.village .brick-overlay-gradient::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

/* Subtle animation for the lock icon */
.village .brick-lock-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Premium lock styling */
.village .brick-lock-premium {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    font-size: 2rem;
}

/* Tooltip for locked content */
.village .brick-overlay[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 12;
}

.village .add-new-brick-card {
    border-bottom: 1px solid #494848;
}

.village .comments {
    background: linear-gradient(0, #00000088, #00000044);
}



/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(248, 249, 250, 0.98);
    border-top: 2px solid #fc4c01;
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-consent p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    flex: 1;
    min-width: 250px;
}

.cookie-consent a {
    color: #fc4c01;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-consent .btn {
    white-space: nowrap;
}

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

    .cookie-consent p {
        min-width: auto;
    }
}