/* Horror-themed CSS for the website redesign */

/* Global styles */
body {
    background-color: #0a0a0a;
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

/* Main container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header styling */
header {
    background-color: #000000;
    border-bottom: 3px solid #8b0000; /* Dark red border */
    box-shadow: 0 2px 10px rgba(139, 0, 0, 0.5);
}

/* Navbar styling */
.old-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
}

.left-navbar {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #8b0000; /* Dark red text */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.left-navbar span {
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.left-navbar span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #8b0000, transparent);
}

.navbar-icon {
    margin-right: 10px;
    width: 30px;
    height: 30px;
}

.middle-navbar {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tagline {
    font-style: italic;
    color: #a9a9a9;
    font-size: 16px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.right-navbar {
    display: flex;
    align-items: center;
}

.menu-date {
    margin-right: 15px;
    color: #a9a9a9;
}

.menu-box a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #8b0000; /* Dark red background */
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.menu-box a:hover {
    background-color: #b22222; /* Lighter red on hover */
}

/* Sub-menu styling */
.sub-menu {
    display: flex;
    background-color: #1a1a1a;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.sub-menu-item {
    margin-right: 20px;
}

.sub-menu-item a {
    color: #d3d3d3;
    text-decoration: none;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.sub-menu-item a i {
    margin-right: 5px;
    color: #8b0000; /* Dark red for icons */
}

.sub-menu-item a:hover {
    color: #8b0000; /* Dark red on hover */
}

.sub-menu-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #8b0000;
    transition: width 0.3s;
}

.sub-menu-item a:hover::after {
    width: 100%;
}

/* Flash message popup styling */
#flashPopup {
    z-index: 1000;
}

#flashPopup .bg-white {
    background-color: #1a1a1a !important;
    color: #d3d3d3;
    border: 1px solid #8b0000 !important;
}

#flashPopup h5 {
    color: #8b0000;
}

#flashOK {
    background-color: #8b0000;
    border-color: #8b0000;
}

#flashOK:hover {
    background-color: #b22222;
    border-color: #b22222;
}

/* Links */
a {
    color: #8b0000;
    transition: color 0.3s;
}

a:hover {
    color: #ff0000;
    text-decoration: none;
}

/* Buttons */
.btn-primary {
    background-color: #8b0000;
    border-color: #8b0000;
}

.btn-primary:hover {
    background-color: #b22222;
    border-color: #b22222;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #8b0000;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b22222;
}

/* Form styling for horror theme */
.horror-form-container {
    background-color: #1a1a1a;
    border: 1px solid #8b0000;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
    max-width: 500px;
    margin: 30px auto;
    position: relative;
    overflow: hidden;
}

.horror-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #8b0000, #ff0000, #8b0000);
}

.horror-form-title {
    color: #8b0000;
    font-family: 'Georgia', serif;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.horror-form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, transparent, #8b0000, transparent);
}

.horror-form-group {
    margin-bottom: 20px;
    position: relative;
}

.horror-form-label {
    display: block;
    color: #d3d3d3;
    margin-bottom: 8px;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
}

.horror-form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 3px;
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
}

.horror-form-input:focus, .horror-form-input.focused {
    border-color: #8b0000;
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.4);
    outline: none;
}

/* Additional horror form effects */
.horror-form-input {
    position: relative;
    z-index: 1;
}

.horror-form-input:focus::placeholder, 
.horror-form-input.focused::placeholder {
    color: #8b0000;
    opacity: 0.7;
    font-style: italic;
    transition: all 0.3s ease;
}

.horror-form-input::placeholder {
    color: #666;
    font-style: italic;
}

.horror-form-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #8b0000;
    text-decoration: none;
    text-align: center;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: 'Georgia', serif;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
}

.horror-form-button:hover {
    background-color: #b22222;
    box-shadow: 0 0 10px rgba(178, 34, 34, 0.5);
}

.horror-form-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #8b0000;
    text-decoration: none;
    font-style: italic;
    transition: all 0.3s ease;
}

.horror-form-link:hover {
    color: #ff0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

/* Blood drip animation for form buttons */
.horror-form-button {
    position: relative;
    overflow: hidden;
}

.blood-drip {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 0;
    background-color: #8b0000;
    animation: drip 1s ease-in;
    z-index: 0;
}

@keyframes drip {
    0% {
        height: 0;
        opacity: 1;
    }
    70% {
        height: 30px;
        opacity: 1;
    }
    100% {
        height: 30px;
        opacity: 0;
    }
}

/* Horror Email Styling */
.horror-email-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    margin-top: 20px;
    height: calc(100vh - 200px);
    min-height: 500px;
}

.horror-email-sidebar {
    background-color: #1a1a1a;
    border: 1px solid #8b0000;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.horror-email-tabs {
    display: flex;
    background-color: #0a0a0a;
    border-bottom: 2px solid #8b0000;
}

.horror-email-tab {
    flex: 1;
    padding: 12px 15px;
    text-align: center;
    color: #d3d3d3;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
    position: relative;
}

.horror-email-tab:hover {
    color: #ff0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.horror-email-tab.selected {
    color: #8b0000;
    font-weight: bold;
    background-color: #1a1a1a;
}

.horror-email-tab.selected::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #8b0000, #ff0000, #8b0000);
}

.horror-email-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.horror-email-item {
    padding: 12px 15px;
    margin-bottom: 8px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 3px;
    color: #d3d3d3;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.horror-email-item:hover {
    border-color: #8b0000;
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.4);
}

.horror-email-item.selected {
    border-color: #8b0000;
    background-color: #1a1a1a;
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.4);
}

.horror-email-item.horror-email-unread {
    border-left: 3px solid #8b0000;
    font-weight: bold;
}

.horror-email-icon {
    color: #8b0000;
    margin-right: 8px;
}

.horror-email-subject {
    font-family: 'Georgia', serif;
}

.horror-email-main {
    background-color: #1a1a1a;
    border: 1px solid #8b0000;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.horror-email-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #8b0000, #ff0000, #8b0000);
    z-index: 1;
}

.horror-email-actions {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #333;
    gap: 10px;
}

.horror-email-action-form {
    display: flex;
    gap: 10px;
}

.horror-email-action-btn {
    padding: 8px 15px;
    background-color: #8b0000;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: 'Georgia', serif;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.horror-email-action-btn i {
    margin-right: 5px;
}

.horror-email-action-btn:hover {
    background-color: #b22222;
    box-shadow: 0 0 10px rgba(178, 34, 34, 0.5);
    color: #fff;
}

.horror-email-header {
    display: grid;
    grid-template-columns: 120px 1fr;
    padding: 15px;
    border-bottom: 1px solid #333;
}

.horror-email-header-labels {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #8b0000;
    font-weight: bold;
}

.horror-email-header-labels div {
    display: flex;
    align-items: center;
}

.horror-email-header-labels i {
    margin-right: 5px;
    width: 20px;
    text-align: center;
}

.horror-email-header-values {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #d3d3d3;
}

.horror-email-content {
    flex: 1;
    padding: 20px;
    color: #d3d3d3;
    overflow-y: auto;
    background-color: #0a0a0a;
    margin: 15px;
    border-radius: 3px;
    border: 1px solid #333;
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

/* Horror Email Compose Styling */
.horror-email-compose-container {
    background-color: #1a1a1a;
    border: 1px solid #8b0000;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
    margin-top: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.horror-email-compose-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #8b0000, #ff0000, #8b0000);
    z-index: 1;
}

.horror-email-compose-header {
    padding: 15px;
    border-bottom: 1px solid #333;
}

.horror-email-compose-header h2 {
    color: #8b0000;
    font-family: 'Georgia', serif;
    font-size: 24px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.horror-email-compose-header h2 i {
    margin-right: 10px;
}

.horror-email-compose-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.horror-email-compose-actions {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #333;
    gap: 10px;
}

.horror-email-compose-fields {
    padding: 15px;
    border-bottom: 1px solid #333;
}

.horror-email-compose-field {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.horror-email-compose-field label {
    width: 100px;
    color: #8b0000;
    font-weight: bold;
    font-family: 'Georgia', serif;
    display: flex;
    align-items: center;
}

.horror-email-compose-field label i {
    margin-right: 5px;
    width: 20px;
    text-align: center;
}

.horror-email-compose-field select,
.horror-email-compose-field input {
    flex: 1;
    padding: 10px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 3px;
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
}

.horror-email-input {
    width: 100%;
    padding: 10px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 3px;
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
}

.horror-email-input:focus,
.horror-email-input.focused,
.horror-email-textarea:focus,
.horror-email-textarea.focused {
    border-color: #8b0000;
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.4);
    outline: none;
}

.horror-email-input::placeholder,
.horror-email-textarea::placeholder {
    color: #666;
    font-style: italic;
}

.horror-email-input:focus::placeholder,
.horror-email-input.focused::placeholder,
.horror-email-textarea:focus::placeholder,
.horror-email-textarea.focused::placeholder {
    color: #8b0000;
    opacity: 0.7;
    font-style: italic;
    transition: all 0.3s ease;
}

.horror-email-compose-content {
    flex: 1;
    padding: 15px;
    display: flex;
}

.horror-email-textarea {
    width: 100%;
    height: 100%;
    min-height: 200px;
    padding: 15px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 3px;
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    resize: none;
    transition: all 0.3s ease;
}

/* Email Reply Styling */
.horror-email-readonly-field {
    flex: 1;
    padding: 10px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 3px;
    color: #d3d3d3;
    font-family: 'Georgia', serif;
}

.horror-email-recipient,
.horror-email-subject-text {
    font-style: italic;
    color: #a9a9a9;
}

.horror-email-chain {
    margin-top: 20px;
    border-top: 1px solid #8b0000;
}

.horror-email-chain-header {
    padding: 15px;
    color: #8b0000;
    font-family: 'Georgia', serif;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    background-color: #0a0a0a;
    border-bottom: 1px solid #333;
}

.horror-email-chain-header i {
    margin-right: 10px;
}

.horror-email-chain-content {
    padding: 15px;
    background-color: #0a0a0a;
    max-height: 300px;
    overflow-y: auto;
}

.horror-email-chain-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-left: 3px solid #8b0000;
    border-radius: 3px;
}

.horror-email-chain-subject {
    color: #8b0000;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.horror-email-chain-subject i {
    margin-right: 5px;
}

.horror-email-chain-message {
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

/* Select2 Horror Theme */
.horror-select-dropdown {
    background-color: #0a0a0a !important;
    border: 1px solid #8b0000 !important;
    border-radius: 3px !important;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3) !important;
}

.select2-container--horror .select2-selection {
    background-color: #0a0a0a !important;
    border: 1px solid #333 !important;
    border-radius: 3px !important;
    color: #d3d3d3 !important;
}

.select2-container--horror .select2-results__option {
    background-color: #0a0a0a !important;
    color: #d3d3d3 !important;
}

.select2-container--horror .select2-results__option--highlighted {
    background-color: #8b0000 !important;
    color: #fff !important;
}

.select2-container--horror .select2-selection--multiple .select2-selection__choice {
    background-color: #8b0000 !important;
    border: 1px solid #b22222 !important;
    color: #fff !important;
}

/* Horror Profile Styling */
.horror-profile-container {
    background-color: #1a1a1a;
    border: 1px solid #8b0000;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}

.horror-profile-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #8b0000, #ff0000, #8b0000);
    z-index: 1;
}

.horror-profile-header {
    padding: 20px;
    border-bottom: 1px solid #333;
}

.horror-profile-header h2 {
    color: #8b0000;
    font-family: 'Georgia', serif;
    font-size: 24px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.horror-profile-header h2 i {
    margin-right: 10px;
}

.horror-profile-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 20px;
}

.horror-profile-image-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.horror-profile-image-frame {
    width: 180px;
    height: 180px;
    border: 3px solid #8b0000;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

.horror-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.horror-profile-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 50%, rgba(139, 0, 0, 0.3) 100%);
    opacity: 0.4;
    pointer-events: none;
}

.horror-profile-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.horror-profile-info {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 15px;
}

.horror-profile-info-label {
    color: #8b0000;
    font-weight: bold;
    font-family: 'Georgia', serif;
}

.horror-profile-info-label div {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.horror-profile-info-label i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.horror-profile-info-value {
    color: #d3d3d3;
    font-family: 'Georgia', serif;
}

.horror-profile-info-value div {
    margin-bottom: 10px;
}

.horror-profile-bio {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 15px;
}

.horror-profile-bio h3 {
    color: #8b0000;
    font-family: 'Georgia', serif;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

.horror-profile-bio-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.horror-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 15px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 3px;
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    resize: vertical;
    transition: all 0.3s ease;
}

.horror-textarea:focus, .horror-textarea.focused {
    border-color: #8b0000;
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.4);
    outline: none;
}

.horror-textarea::placeholder {
    color: #666;
    font-style: italic;
}

.horror-textarea:focus::placeholder, 
.horror-textarea.focused::placeholder {
    color: #8b0000;
    opacity: 0.7;
    font-style: italic;
    transition: all 0.3s ease;
}

.horror-admin-panel {
    grid-column: span 2;
    background-color: #0a0a0a;
    border: 1px solid #8b0000;
    border-radius: 5px;
    margin-top: 20px;
    overflow: hidden;
}

.horror-admin-header {
    background-color: #8b0000;
    color: #fff;
    padding: 10px 15px;
    font-family: 'Georgia', serif;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.horror-admin-header i {
    margin-right: 8px;
}

.horror-admin-content {
    padding: 15px;
}

.horror-profile-forms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px 20px;
}

.horror-profile-form {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 15px;
}

/* Horror Contacts Styling */
.horror-contacts-container {
    background-color: #1a1a1a;
    border: 1px solid #8b0000;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}

.horror-contacts-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #8b0000, #ff0000, #8b0000);
    z-index: 1;
}

.horror-contacts-header {
    padding: 20px;
    border-bottom: 1px solid #333;
}

.horror-contacts-header h2 {
    color: #8b0000;
    font-family: 'Georgia', serif;
    font-size: 24px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.horror-contacts-header h2 i {
    margin-right: 10px;
}

.horror-contacts-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    padding: 20px;
}

.horror-contacts-list {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
}

.horror-contacts-list-header {
    background-color: #1a1a1a;
    color: #8b0000;
    padding: 12px 15px;
    font-family: 'Georgia', serif;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #333;
}

.horror-contacts-list-header i {
    margin-right: 8px;
}

.horror-contacts-list-content {
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.horror-contact-item {
    padding: 10px 15px;
    margin-bottom: 8px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 3px;
    color: #d3d3d3;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.horror-contact-item:hover {
    border-color: #8b0000;
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.4);
}

.horror-contact-icon {
    color: #8b0000;
    margin-right: 10px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.horror-contact-email {
    font-family: 'Georgia', serif;
}

.horror-contacts-empty {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

.horror-contacts-add {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
}

.horror-contacts-add-header {
    background-color: #1a1a1a;
    color: #8b0000;
    padding: 12px 15px;
    font-family: 'Georgia', serif;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #333;
}

.horror-contacts-add-header i {
    margin-right: 8px;
}

.horror-contacts-form {
    padding: 15px;
}

/* Horror Journal Styling */
.horror-journal-container {
    background-color: #1a1a1a;
    border: 1px solid #8b0000;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}

.horror-journal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #8b0000, #ff0000, #8b0000);
    z-index: 1;
}

.horror-journal-header {
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.horror-journal-header h2 {
    color: #8b0000;
    font-family: 'Georgia', serif;
    font-size: 24px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.horror-journal-header h2 i {
    margin-right: 10px;
}

.horror-journal-new-btn, .horror-journal-back-btn {
    padding: 8px 15px;
    background-color: #8b0000;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: 'Georgia', serif;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.horror-journal-new-btn i, .horror-journal-back-btn i {
    margin-right: 5px;
}

.horror-journal-new-btn:hover, .horror-journal-back-btn:hover {
    background-color: #b22222;
    box-shadow: 0 0 10px rgba(178, 34, 34, 0.5);
    color: #fff;
    text-decoration: none;
}

.horror-journal-content {
    padding: 20px;
}

.horror-journal-empty {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 40px 0;
}

.horror-journal-entry {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.horror-journal-entry:hover {
    border-color: #8b0000;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
}

.horror-journal-entry-header {
    padding: 15px;
    border-bottom: 1px solid #333;
    background-color: #1a1a1a;
}

.horror-journal-title {
    color: #8b0000;
    font-family: 'Georgia', serif;
    font-size: 20px;
    margin: 0 0 10px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.horror-journal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #a9a9a9;
    font-size: 14px;
}

.horror-journal-date i, .horror-journal-author i, .horror-journal-visibility i {
    margin-right: 5px;
    color: #8b0000;
}

.horror-journal-entry-content {
    padding: 15px;
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    min-height: 80px;
}

.horror-journal-entry-actions {
    display: flex;
    gap: 10px;
    padding: 10px 15px;
    border-top: 1px solid #333;
    background-color: #1a1a1a;
}

.horror-journal-action-btn {
    padding: 5px 10px;
    background-color: #8b0000;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: 'Georgia', serif;
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.horror-journal-action-btn i {
    margin-right: 5px;
}

.horror-journal-action-btn:hover {
    background-color: #b22222;
    box-shadow: 0 0 10px rgba(178, 34, 34, 0.5);
    color: #fff;
    text-decoration: none;
}

/* Journal Modal */
.horror-journal-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.horror-journal-modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #8b0000;
    border-radius: 5px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
    position: relative;
    animation: modalFadeIn 0.5s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.horror-journal-modal-header {
    padding: 15px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.horror-journal-modal-header h3 {
    color: #8b0000;
    font-family: 'Georgia', serif;
    font-size: 22px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

.horror-journal-modal-close {
    color: #a9a9a9;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.horror-journal-modal-close:hover {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.horror-journal-modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

#modalContent {
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    margin-bottom: 20px;
}

.horror-journal-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #a9a9a9;
    font-size: 14px;
    border-top: 1px solid #333;
    padding-top: 15px;
    margin-top: 20px;
}

/* Journal Edit View */
.horror-journal-edit-content {
    padding: 20px;
}

.horror-journal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.horror-form-textarea {
    width: 100%;
    min-height: 300px;
    padding: 12px 15px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 3px;
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    resize: vertical;
    transition: all 0.3s ease;
}

.horror-form-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.horror-form-checkbox-label {
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    cursor: pointer;
}

.horror-form-checkbox-label i {
    color: #8b0000;
    margin-right: 5px;
}

.horror-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.horror-form-button.cancel {
    background-color: #333;
    border-color: #333;
}

.horror-form-button.cancel:hover {
    background-color: #555;
    border-color: #555;
}

/* Blood text style for CKEditor */
.blood-text {
    color: #8b0000;
    text-shadow: 0 0 5px rgba(139, 0, 0, 0.5);
}

/* Eerie quote style for CKEditor */
.eerie-quote {
    border-left: 3px solid #8b0000;
    padding-left: 15px;
    margin-left: 15px;
    font-style: italic;
    color: #a9a9a9;
}

/* Journal Filter Styling */
.horror-journal-filter-container {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 5px;
    margin: 20px 20px 0;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.horror-journal-filter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.horror-journal-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.horror-journal-filter-group {
    flex: 1;
    min-width: 250px;
}

.horror-filter-label {
    display: block;
    color: #8b0000;
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Georgia', serif;
}

.horror-filter-label i {
    margin-right: 5px;
}

.horror-filter-input {
    width: 100%;
    padding: 10px 12px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 3px;
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
}

.horror-filter-input:focus {
    border-color: #8b0000;
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.4);
    outline: none;
}

.horror-date-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.horror-date-input {
    flex: 1;
}

.horror-date-separator {
    color: #8b0000;
    font-style: italic;
}

.horror-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.horror-filter-checkbox-label {
    color: #d3d3d3;
    font-family: 'Georgia', serif;
    cursor: pointer;
}

.horror-filter-checkbox-label i {
    color: #8b0000;
    margin-right: 5px;
}

.horror-journal-filter-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.horror-filter-button {
    padding: 8px 15px;
    background-color: #8b0000;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: 'Georgia', serif;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.horror-filter-button i {
    margin-right: 5px;
}

.horror-filter-button:hover {
    background-color: #b22222;
    box-shadow: 0 0 10px rgba(178, 34, 34, 0.5);
    color: #fff;
    text-decoration: none;
}

.horror-filter-button.reset {
    background-color: #333;
}

.horror-filter-button.reset:hover {
    background-color: #555;
}

/* Journal Loading Indicator */
.horror-journal-loading {
    text-align: center;
    padding: 40px 0;
    color: #8b0000;
    font-family: 'Georgia', serif;
    font-size: 18px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    animation: pulse 1.5s infinite;
}

.horror-journal-loading i {
    margin-right: 10px;
    font-size: 24px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-hide {
        display: none;
    }

    .sub-menu {
        flex-wrap: wrap;
    }

    .sub-menu-item {
        margin-bottom: 5px;
    }

    .horror-form-container {
        padding: 20px;
        margin: 20px 10px;
    }

    .horror-email-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .horror-email-sidebar {
        height: 300px;
    }

    .horror-email-compose-field {
        flex-direction: column;
        align-items: flex-start;
    }

    .horror-email-compose-field label {
        width: 100%;
        margin-bottom: 5px;
    }

    .horror-profile-content {
        grid-template-columns: 1fr;
    }

    .horror-profile-image-section {
        margin-bottom: 20px;
    }

    .horror-profile-forms {
        grid-template-columns: 1fr;
    }

    .horror-contacts-content {
        grid-template-columns: 1fr;
    }

    .horror-contacts-list {
        margin-bottom: 20px;
    }

    .horror-journal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .horror-journal-meta {
        flex-direction: column;
        gap: 5px;
    }

    .horror-journal-entry-actions {
        flex-wrap: wrap;
    }

    .horror-journal-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .horror-form-actions {
        flex-direction: column;
    }

    /* Journal filter responsive adjustments */
    .horror-journal-filter-container {
        margin: 20px 10px 0;
        padding: 10px;
    }

    .horror-journal-filter-group {
        min-width: 100%;
        margin-bottom: 10px;
    }

    .horror-date-range {
        flex-direction: column;
        gap: 5px;
    }

    .horror-date-separator {
        align-self: center;
    }

    .horror-journal-filter-actions {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }

    .horror-filter-button {
        width: 100%;
        justify-content: center;
    }
}
