/* LEFT SIDEBAR HTML STRUCTURE */
/* ========== DYNAMIC SIDEBAR STYLES ========== */
/* Tab system */
.tab-container {
width: 100%;
overflow: hidden;
}
.tab-buttons {
display: flex;
border-bottom: 1px solid rgba(255, 0, 0, 0.3);
margin-bottom: 10px;
}
.tab-button {
background: rgba(20, 0, 0, 0.5);
border: none;
outline: none;
cursor: pointer;
padding: 8px 10px;
color: #ffffff;
font-family: 'Courier New', monospace;
flex: 1;
margin: 0 2px;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 0.8em;
position: relative;
overflow: hidden;
}
.tab-button::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background: rgba(255, 0, 0, 0.5);
transform: scaleX(0);
transition: transform 0.3s ease;
}
.tab-button:hover::after,
.tab-button.active::after {
transform: scaleX(1);
}
.tab-button.active {
background: rgba(40, 0, 0, 0.7);
color: #ffffff;
border-bottom: 2px solid rgba(255, 0, 0, 0.7);
}
.tab-content {
display: none;
padding: 5px;
animation: fadeIn 0.5s ease;
}
.tab-content.active {
display: block;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
/* Collapsible sections */
.collapsible {
background: rgba(30, 0, 0, 0.5);
color: white;
cursor: pointer;
padding: 8px 10px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-family: 'Courier New', monospace;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 5px;
border-left: 3px solid rgba(255, 0, 0, 0.3);
transition: all 0.3s ease;
}
.collapsible:hover, .collapsible.active {
background: rgba(50, 0, 0, 0.7);
border-left: 3px solid rgba(255, 0, 0, 0.8);
}
.collapsible:after {
content: '+';
font-weight: bold;
float: right;
margin-left: 5px;
transition: transform 0.3s ease;
}
.collapsible.active:after {
content: '-';
}
.collapsible-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
background: rgba(10, 0, 0, 0.3);
padding: 0 10px;
margin-bottom: 10px;
}
/* Photo gallery */
.gallery {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 5px;
margin-bottom: 10px;
}
.gallery-item {
position: relative;
overflow: hidden;
cursor: pointer;
aspect-ratio: 1;
}
.gallery-img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
border: 1px solid rgba(255, 0, 0, 0.3);
}
.gallery-item:hover .gallery-img {
transform: scale(1.05);
}
.gallery-caption {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 5px;
font-size: 0.7em;
transform: translateY(100%);
transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-caption {
transform: translateY(0);
}
/* Lightbox */
.lightbox {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.9);
justify-content: center;
align-items: center;
}
.lightbox-content {
max-width: 80%;
max-height: 80%;
}
.lightbox-img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
border: 1px solid rgba(255, 0, 0, 0.5);
box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}
.lightbox-close {
position: absolute;
top: 15px;
right: 25px;
color: #f1f1f1;
font-size: 35px;
font-weight: bold;
cursor: pointer;
}
.lightbox-caption {
position: absolute;
bottom: 20px;
width: 100%;
text-align: center;
color: white;
padding: 10px;
background: rgba(0, 0, 0, 0.7);
}
.lightbox-nav {
position: absolute;
width: 100%;
display: flex;
justify-content: space-between;
}
.lightbox-prev, .lightbox-next {
padding: 16px;
color: white;
font-weight: bold;
font-size: 18px;
cursor: pointer;
background: rgba(0, 0, 0, 0.5);
border: none;
outline: none;
}
/* Media feed */
.media-item {
margin-bottom: 10px;
border-bottom: 1px dashed rgba(255, 0, 0, 0.2);
padding-bottom: 10px;
}
.media-item:last-child {
border-bottom: none;
}
.media-item-header {
display: flex;
align-items: center;
margin-bottom: 5px;
}
.media-item-avatar {
width: 20px;
height: 20px;
border-radius: 50%;
margin-right: 5px;
border: 1px solid rgba(255, 0, 0, 0.3);
}
.media-item-username {
font-size: 0.8em;
font-weight: bold;
color: rgba(255, 100, 100, 0.8);
}
.media-item-date {
font-size: 0.7em;
margin-left: auto;
color: rgba(200, 200, 200, 0.8);
}
.media-item-content {
font-size: 0.9em;
margin-bottom: 5px;
}
.media-item-image {
width: 100%;
height: auto;
margin-bottom: 5px;
border: 1px solid rgba(255, 0, 0, 0.3);
}
.media-item-actions {
display: flex;
justify-content: space-between;
font-size: 0.7em;
}
.media-item-action {
cursor: pointer;
transition: color 0.3s ease;
}
.media-item-action:hover {
color: rgba(255, 50, 50, 0.8);
}
/* Iframe container */
.iframe-container {
position: relative;
overflow: hidden;
width: 100%;
padding-top: 56.25%; /* 16:9 Aspect Ratio */
margin-bottom: 10px;
border: 1px solid rgba(255, 0, 0, 0.3);
}
.responsive-iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
border: none;
}
/* Custom scrollbar */
.custom-scrollbar {
max-height: 200px;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: rgba(255, 0, 0, 0.5) rgba(30, 0, 0, 0.5);
}
.custom-scrollbar::-webkit-scrollbar {
width: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: rgba(30, 0, 0, 0.5);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background-color: rgba(255, 0, 0, 0.5);
}
/* Interactive elements */
.input-field {
width: 100%;
background: rgba(20, 0, 0, 0.5);
border: 1px solid rgba(255, 0, 0, 0.3);
color: white;
padding: 5px;
margin-bottom: 10px;
font-family: 'Courier New', monospace;
}
.button {
background: rgba(40, 0, 0, 0.6);
color: white;
border: 1px solid rgba(255, 0, 0, 0.5);
padding: 5px 10px;
cursor: pointer;
transition: all 0.3s ease;
font-family: 'Courier New', monospace;
}
.button:hover {
background: rgba(60, 0, 0, 0.8);
border-color: rgba(255, 50, 50, 0.8);
}
/* Badge/pill */
.badge {
display: inline-block;
padding: 2px 5px;
font-size: 0.7em;
background: rgba(40, 0, 0, 0.6);
color: white;
border: 1px solid rgba(255, 0, 0, 0.5);
border-radius: 10px;
margin-right: 3px;
}
/* Progress indicator */
.progress-container {
width: 100%;
background: rgba(20, 0, 0, 0.5);
margin-bottom: 10px;
height: 5px;
}
.progress-bar {
height: 100%;
background: linear-gradient(90deg, rgba(255, 0, 0, 0.5), rgba(255, 50, 50, 0.8));
width: 0%;
transition: width 0.3s ease;
}
/* Tooltip */
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted rgba(255, 0, 0, 0.5);
}
.tooltip .tooltip-text {
visibility: hidden;
width: 120px;
background-color: rgba(0, 0, 0, 0.8);
color: #fff;
text-align: center;
border: 1px solid rgba(255, 0, 0, 0.3);
padding: 5px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s;
font-size: 0.8em;
}
.tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
/* Audio player */
.audio-player {
width: 100%;
margin-bottom: 10px;
}
.audio-player-controls {
display: flex;
align-items: center;
background: rgba(20, 0, 0, 0.5);
padding: 5px;
border: 1px solid rgba(255, 0, 0, 0.3);
}
.audio-play-btn {
background: none;
border: none;
color: white;
font-size: 1.2em;
cursor: pointer;
margin-right: 5px;
}
.audio-timeline {
flex-grow: 1;
height: 5px;
background: rgba(50, 0, 0, 0.5);
position: relative;
cursor: pointer;
}
.audio-progress {
background: rgba(255, 0, 0, 0.7);
height: 100%;
width: 0%;
}
.audio-time {
font-size: 0.7em;
margin-left: 5px;
color: rgba(200, 200, 200, 0.8);
}
/* Mobile adaptations */
@media (max-width: 768px) {
.tab-button {
font-size: 0.7em;
padding: 6px 8px;
}
.gallery {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 480px) {
.tab-container {
font-size: 0.9em;
}
.gallery {
grid-template-columns: repeat(2, 1fr);
}
}