
/* === RPG Suite CSS === */

/* Allgemeine Komponenten */
.rpgsuite-intro {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
}

.rpgsuite-intro h3 {
    margin-top: 0;
}

.rpgsuite-stats {
    padding: 10px;
    background-color: #f0f8ff;
    border: 1px solid #b0d4f1;
    border-radius: 4px;
}

.rpgsuite-stats h4 {
    margin-top: 0;
    color: #2c5aa0;
}

.rpgsuite-actions {
    padding: 10px;
    background-color: #f0fff0;
    border: 1px solid #90ee90;
    border-radius: 4px;
}

.rpgsuite-actions h4 {
    margin-top: 0;
    color: #228b22;
}

.rpgsuite-character-list h4 {
    margin-bottom: 10px;
    color: #333;
}

/* Status-Badges */
.rpgsuite-status-pending {
    color: #ffc107;
    font-weight: bold;
}

.rpgsuite-status-approved {
    color: #28a745;
    font-weight: bold;
}

.rpgsuite-status-rejected {
    color: #dc3545;
    font-weight: bold;
}

.rpgsuite-status-reserved {
    color: #007bff;
    font-weight: bold;
}

/* Stat-Total für Charakteranzahl */
.rpgsuite-stat-total {
    color: #333;
    font-weight: bold;
    font-size: 1.2em;
}

/* Buttons */
.rpgsuite-btn {
    display: inline-block;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: normal;
    text-align: center;
    margin-right: 8px;
    background-color: #000000;
    color: white;
    border: 1px solid #333333;
}

.rpgsuite-btn-primary {
    background-color: #000000;
    color: white;
    font-weight: bold;
    border: 1px solid #333333;
}

.rpgsuite-btn-secondary {
    background-color: #000000;
    color: white;
    border: 1px solid #333333;
}

.rpgsuite-btn-info {
    background-color: #000000;
    color: white;
    border: 1px solid #333333;
}

.rpgsuite-btn-warning {
    background-color: #000000;
    color: white;
    font-weight: bold;
    border: 1px solid #333333;
}

.rpgsuite-btn-danger {
    background-color: #000000;
    color: white;
    border: 1px solid #333333;
}

.rpgsuite-btn-small {
    padding: 4px 8px;
    font-size: 11px;
    margin-right: 3px;
}

.rpgsuite-btn-disabled {
    background-color: #666666;
    color: #cccccc;
    cursor: not-allowed;
    border: 1px solid #555555;
}

.rpgsuite-btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Button Hover-Effekte */
.rpgsuite-btn:hover {
    background-color: #333333;
    color: white;
    text-decoration: none;
}

.rpgsuite-btn-disabled:hover {
    background-color: #666666;
    color: #cccccc;
    cursor: not-allowed;
}

/* Avatar-Anzeige */
.rpgsuite-avatar-current {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.rpgsuite-avatar-current-title {
    color: #155724;
    font-weight: bold;
}

.rpgsuite-avatar-preview {
    margin: 8px 0;
}

.rpgsuite-avatar-preview img {
    max-width: 100px;
    max-height: 100px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.rpgsuite-avatar-info {
    color: #495057;
}

.rpgsuite-avatar-selected {
    background: #e7f3ff;
    border: 1px solid #b0d4f1;
    padding: 8px;
    margin-top: 8px;
    border-radius: 4px;
}

.rpgsuite-avatar-selected-title {
    color: #2c5aa0;
    font-weight: bold;
}

/* Upload-Informationen */
.rpgsuite-upload-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px;
    margin-top: 10px;
}

.rpgsuite-upload-info-title {
    color: #495057;
    font-weight: bold;
}

.rpgsuite-upload-info-text {
    color: #6c757d;
}

/* Deadline-Info */
.rpgsuite-deadline-info {
    background: #e7f3ff;
    border: 1px solid #b0d4f1;
    padding: 10px;
    margin-bottom: 15px;
}

.rpgsuite-deadline-info h4 {
    margin: 0;
    color: #2c5aa0;
}

/* Status-Info */
.rpgsuite-status-info {
    background: #e7f3ff;
    border: 1px solid #b0d4f1;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* Vorschau */
.rpgsuite-preview {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
}

.rpgsuite-preview h4 {
    margin-top: 0;
}

/* Button-Container */
.rpgsuite-buttons {
    text-align: center;
    padding: 15px;
}

.rpgsuite-buttons-inline {
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rpgsuite-btn {
        display: block;
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .rpgsuite-buttons-inline {
        display: block;
    }
}

/* MyBB-Integration: Überschreibung für bessere Integration */
.tborder .rpgsuite-btn {
    vertical-align: middle;
}

.trow1 .rpgsuite-btn, .trow2 .rpgsuite-btn {
    margin: 2px;
}

/* === CHARAKTERMODUL-SPEZIFISCHE STYLES === */

/* Statistik-Karten Grid */
.rpgsuite-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.rpgsuite-stat-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.rpgsuite-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.rpgsuite-stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #495057;
    display: block;
    line-height: 1;
}

.rpgsuite-stat-label {
    color: #6c757d;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 500;
}

/* Charaktertabelle */
.rpgsuite-character-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.rpgsuite-character-table th,
.rpgsuite-character-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.rpgsuite-character-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rpgsuite-character-table tbody tr:hover {
    background: #f8f9fa;
}

.rpgsuite-character-table tbody tr:last-child td {
    border-bottom: none;
}

.rpgsuite-character-name {
    font-weight: 600;
    color: #495057;
    font-size: 15px;
}

.rpgsuite-character-race {
    color: #6c757d;
    font-size: 13px;
    font-style: italic;
    margin-top: 2px;
}

/* Empty State */
.rpgsuite-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.rpgsuite-empty-state h3 {
    margin-bottom: 10px;
    color: #495057;
    font-size: 20px;
    font-weight: 600;
}

.rpgsuite-empty-state p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

/* Aktionszeile */
.rpgsuite-actions-row {
    background: #f8f9fa;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 6px 6px;
}

/* Stat-Total für Charakteranzahl */
.rpgsuite-stat-total {
    color: #333;
    font-weight: bold;
    font-size: 1.2em;
}
    font-size: 16px;
    font-weight: 600;
}

.rpgsuite-slots-info p {
    margin: 0;
    color: #424242;
    font-size: 14px;
}

.rpgsuite-slots-remaining {
    color: #2e7d32;
    font-weight: 600;
}

.rpgsuite-slots-full {
    color: #d32f2f;
    font-weight: 600;
}

/* Responsive Design für Charaktermodul */
@media (max-width: 768px) {
    .rpgsuite-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .rpgsuite-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .rpgsuite-character-table th,
    .rpgsuite-character-table td {
        padding: 8px 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .rpgsuite-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .rpgsuite-content {
        padding: 15px;
    }
    
    .rpgsuite-header {
        padding: 12px 15px;
    }
    
    .rpgsuite-character-table {
        font-size: 12px;
    }
}
