@font-face {
    font-family: HelvNow;
    src: url(helv.otf);
}

.private-message {
    color: #ff9dce; /* Hot pink - you can change this to any color you prefer */
}

.email {
    margin: auto;
    margin-top: 2rem;
}

.irclink {
    color: rgb(43, 161, 39);
}


.chat-link {
    color: #4ECDC4;
    text-decoration: underline;
}

.chat-link:hover {
    color: #45B7D1;
}

#play-pause-btn, #mute-btn {
    font-size: 1rem;
    min-width: 150px;
    min-height: 50px;
}

#header-play-pause-btn, #header-mute-btn {
    min-width: 100px;
}

* {
    border-radius: 5px;
}

#volume-display, #header-volume-display {
    min-width: 3rem;
}

body {
    background-color: #000000;
    color: #00ff00;
    font-family: monospace;
    margin: 0;
    padding: 15px;
    min-height: 100vh;
    font-size: 14px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.radiologo {
    color: #00ff00;
    font-family: HelvNow, 'Courier New', monospace;
    font-size: 2rem;
    border: 1px solid #00ff00;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    box-sizing: border-box;
    text-shadow:
    0 0 5px #00ff0051,
    0 0 10px #00ff0044,
    0 0 20px #00ff005b;
    box-shadow:
    0 0 5px #00ff005b,
    0 0 10px #00ff005b,
    0 0 20px #00ff005b,
    0 0 40px #00ff005b;
}

.listener-count {
    font-family: monospace;
}

/* Desktop header controls */
.header-audio-controls {
    display: none;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.header-audio-controls .control-buttons {
    display: flex;
    gap: 5px;
}

.header-audio-controls .volume-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.main-content.no-chat {
    grid-template-columns: 1fr;
}

.now-playing-section {
    grid-column: 1;
}

.chat-section {
    grid-column: 2;
    font-family: 'Courier New', monospace;
}

.card {
    border: 1px solid #00ff00;
    padding: 12px;
    background-color: #001100;
    text-align: center;
    min-height: 376px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.badge {
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 2px 6px;
    font-size: 1.5rem;
    display: inline-block;
    background-color: #000000;
    font-weight: bold;
}

.badge.bg-danger {
    color: #ff0000;
    border-color: #ff0000;
    background-color: #110000;
}

.badge.bg-info {
    color: #00ff00;
    border-color: #00ff00;
    background-color: #001111;
    padding: 10px;
}

#live-interface, #auto-dj {
    display: none;
}

.song-info img {
    width: 100%;
    max-width: 250px;
    border: 1px solid #00ff00;
    margin-bottom: 4px;
}

.custom-audio-controls {
    text-align: center;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    background-color: #000000;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 1rem;
    margin: 2px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.control-buttons {
    display: flex;
    gap: 5px;
}

.volume-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.volume-slider {
    width: 100%;
    height: 15px;
    background: #003300;
    border: 1px solid #00ff00;
    outline: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 19px;
    background: #00ff00;
    cursor: pointer;
}

.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.links-section .btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: auto;
    text-align: center;
    margin-bottom: 3px;
    padding: 8px 12px;
    font-size: 1rem;
    border: 1px solid #00ff00;
    background-color: #001100;
    box-sizing: border-box;
}

.smallbuttons {
    display: flex;
    justify-content: center;
}

.links-section .smallbtn {
    width: 30%;
    max-width: 100px;
    margin: 2px;
}

.schedule-section {
    border: 1px solid #00ff00;
    padding: 10px;
    background-color: #001100;
}

.schedule-section h3 {
    margin: 0 0 8px 0;
    color: #00ff00;
    font-size: 1rem;
}

/* IRC Client Styles */
.chat-container {
    background-color: #000000;
    border: 1px solid #00ff00;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background-color: #001100;
    padding: 6px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #00ff00;
    font-size: 1rem;
}

.chat-messages {
    flex: 1;
    padding: 8px;
    overflow-y: auto;
    line-height: 1.2;
    background-color: #000000;
}

.chat-input {
    padding: 6px;
    display: flex;
    gap: 6px;
    background-color: #001100;
    border-top: 1px solid #00ff00;
}

.chat-input input {
    flex: 1;
    background-color: #000000;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 4px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.chat-input button {
    background-color: #000000;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 4px 8px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.chat-input button:hover {
    background-color: #00ff00;
    color: #000000;
}

.login-form {
    border: 1px solid #00ff00;
    padding: 12px;
    text-align: center;
    background-color: #001100;
    min-height: 376px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-form h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.login-form p {
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.login-form input {
    background-color: #000000;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 4px;
    margin: 4px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.login-form button {
    background-color: #000000;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 4px 8px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.login-form button:hover {
    background-color: #00ff00;
    color: #000000;
}

.status {
    color: #ffff00;
    font-style: italic;
}

.user-message {
    color: #00ff00;
    margin-bottom: 2px;
}

.system-message {
    color: #049b34;
    margin-bottom: 2px;
}

.error {
    color: #ff0000;
    margin-bottom: 2px;
}

/* Enhanced IRC Chat Message Styles */
.mention {
    color: #00ccff;
    background-color: #003355;
    padding: 1px 2px;
    border-radius: 2px;
    font-weight: bold;
}



/* Chat message styling improvements */
.chat-messages .user-message {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.chat-messages .system-message {
    font-style: italic;
    opacity: 0.9;
}

.chat-messages .error {
    font-weight: bold;
    background-color: #110000;
    padding: 2px 4px;
    border-radius: 2px;
}

.chat-messages .status {
    background-color: #111100;
    padding: 2px 4px;
    border-radius: 2px;
}

.schedule-card {
    border: 1px solid #00ff00;
    padding: 10px;
    background-color: #001100;
    margin: auto;
    margin-bottom: 15px;
    text-align: center;
    max-width: 260px;
    border-radius: 5px;
}

#not-live {
    text-align: center;
}

/* Desktop-specific styles */
@media (min-width: 769px) {
    .header-section {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 15px;
        align-items: center;
    }

    /* Centered header layout for offline mode on desktop */
    .header-section.offline-centered {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-audio-controls {
        display: flex;
        justify-content: center;
    }

    .header-audio-controls .volume-slider {
        width: 120px;
    }

    /* Hide the original audio controls on desktop */
    .custom-audio-controls {
        display: none;
    }

    

}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-section {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .card {
        min-height: 0px;
    }

    .radiologo {
        font-size: 1.4rem;
        text-align: center;
        width: 100%;
        max-width: none;
    }
    
    .login-form {
        min-height: 0;
    }

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

    .info-section {
        grid-template-columns: 1fr;
    }

    .now-playing-section {
        grid-column: 1;
    }

    .chat-section {
        grid-column: 1;
    }

    .custom-audio-controls {
        flex-direction: column;
        gap: 8px;
    }

    .volume-controls {
        justify-content: center;
    }

    .volume-slider {
        width: 120px;
    }

    /* Show original audio controls on mobile */
    .header-audio-controls {
        display: none !important;
    }
}