/* ===============================================
   VN-BIKER SHOUTBOX CSS
   Wolf im Schafspelz - Modern meets WBB 2.3.6
   Baut auf wbb-acp-css auf (#666686 Theme)
   =============================================== */

/* ===============================================
   MODAL OVERLAY
   =============================================== */
#shoutbox-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
}

#shoutbox-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: #F8F8F8;
    border: 3px solid #666686;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

#shoutbox-modal-header {
    background: linear-gradient(to bottom, #ced6df 0%, #f2f6f9 100%);
    border-bottom: 2px solid #666686;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#shoutbox-modal-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: #000000;
}

#shoutbox-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666686;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

#shoutbox-modal-close:hover {
    color: #444466;
    transform: scale(1.3) rotate(90deg);
}

#shoutbox-modal-content {
    height: calc(85vh - 65px);
    overflow: hidden;
}

#shoutbox-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* ===============================================
   SHOUTBOX CONTAINER
   =============================================== */
.shoutbox-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

.shoutbox-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
}

.shoutbox-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

/* ===============================================
   SHOUTBOX ICONS - Font Awesome Integration
   =============================================== */
.shoutbox-icon {
    color: #666686;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.shoutbox-icon:hover {
    color: #444466;
    transform: scale(1.3) rotate(2deg);
}

.shoutbox-icon-refresh {
    font-size: 18px;
}

.shoutbox-icon-edit,
.shoutbox-icon-delete {
    font-size: 14px;
}

.shoutbox-icon-expand {
    font-size: 18px;
}

/* Icon-Links - kein underline */
a.shoutbox-icon-link {
    background-image: none;
    border-bottom: none;
    text-decoration: none;
}

a.shoutbox-icon-link:hover {
    background-image: none;
    border-bottom: none;
}

/* ===============================================
   SHOUTBOX CHAT BEREICH
   =============================================== */
.shoutbg {
    background: #F8F8F8;
    padding: 5px;
}

/* Chat-Bilder im Shout: keine globalen img-effekte */
.shoutbg img {
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.shoutbg img:hover {
    transform: none;
    box-shadow: none;
}

.shoutbox-message-row {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.shoutbox-message-row:hover {
    background-color: #f9f9f9;
}

.shoutbox-timestamp {
    color: #999999;
    font-size: 10px;
}

.shoutbox-username {
    font-weight: bold;
    color: #666686;
}

.shoutbox-username a {
    color: #666686;
    text-decoration: none;
    border-bottom: none;
    background-image: none;
}

.shoutbox-username a:hover {
    color: #444466;
    text-decoration: underline;
}

/* Message-Text */
.shoutbox-message-content {
    color: #000000;
    word-wrap: break-word;
}

/* Links im Message-Text: kein globaler Underliner */
.shoutbox-message-content a,
.shoutbox-message-content a:link,
.shoutbox-message-content a:visited,
.shoutbox-message-content a:active {
    color: #666686;
    text-decoration: none;
    border-bottom: none;
    background-image: none;
}

.shoutbox-message-content a:hover {
    color: #444466;
    text-decoration: underline;
    border-bottom: none;
    background-image: none;
}

.shoutbox-message-actions {
    white-space: nowrap;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ===============================================
   SHOUTBOX BUTTONS
   =============================================== */
.shoutbox-btn {
    padding: 8px 16px;
    border: 2px solid #666686;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom, #ced6df 0%, #f2f6f9 100%);
    color: #000000;
}

.shoutbox-btn:hover {
    border-color: #444466;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to bottom, #666686 0%, #444466 100%);
    color: #FFFFFF;
}

.shoutbox-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shoutbox-btn i {
    margin-right: 5px;
}

.shoutbox-btn:hover i {
    color: #FFFFFF;
}

/* ===============================================
   SHOUTBOX INPUT FELDER
   =============================================== */
.shoutbox-input {
    padding: 8px;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 11px;
    background: #F8F8F8;
    flex: 1;
}

.shoutbox-input:hover {
    border-color: #666686;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.shoutbox-input:focus {
    outline: 2px solid #666686;
    border-color: #666686;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* ===============================================
   SMILIES SPALTEN
   =============================================== */
.shoutbox-smilies {
    padding: 8px;
    vertical-align: top;
}

.shoutbox-smilies img {
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: transform 0.2s ease;
}

.shoutbox-smilies img:hover {
    transform: scale(1.2);
    box-shadow: none;
}

/* ===============================================
   SPECIAL MENU
   =============================================== */
#mboxspecial {
    display: none;
    margin-top: 10px;
}

/* ===============================================
   IFRAME STYLING
   =============================================== */
iframe[name="chat"] {
    border: 2px solid #666686;
    border-radius: 8px;
    background: #F8F8F8;
}

/* ===============================================
   PRINT - Modal ausblenden
   =============================================== */
@media print {
    #shoutbox-modal-overlay,
    #shoutbox-modal {
        display: none !important;
    }
}
