/**
 * Recruitment Widget CSS
 * Eternal Illusion - 2025. október 26.
 */

/* RECRUITMENT WIDGET FŐKONTÉNER */
.recruitment-widget {
    background: rgba(42, 42, 42, 0.9);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.recruitment-widget:hover {
    border-color: rgba(118, 75, 162, 0.5);
    transform: translateY(-2px);
}

.recruitment-widget .widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(118, 75, 162, 0.3);
}

.recruitment-widget .widget-header h3 {
    color: #764ba2;
    font-size: 1.3rem;
    margin: 0;
}

/* POZÍCIÓK LISTA */
.recruitment-summary {
    margin-bottom: 25px;
}

.recruitment-summary h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.positions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.position-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.position-item:hover {
    background: rgba(118, 75, 162, 0.1);
    transform: translateX(5px);
}

/* PRIORITÁS SZÍNEZÉS */
.position-item.priority-critical {
    border-left-color: #ff4757;
}

.position-item.priority-high {
    border-left-color: #ff6b35;
}

.position-item.priority-medium {
    border-left-color: #ffd700;
}

.position-item.priority-low {
    border-left-color: #7bed9f;
}

/* CLASS & SPEC IKONOK */
.position-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.class-icon, .spec-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
    transition: transform 0.3s ease;
}

.position-item:hover .class-icon,
.position-item:hover .spec-icon {
    transform: scale(1.1);
}

/* POZÍCIÓ INFO */
.position-info {
    flex: 1;
    min-width: 0;
}

.position-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.class-name {
    font-weight: 600;
    color: #e0e0e0;
    font-size: 1rem;
}

.spec-name {
    color: #b0b0b0;
    font-size: 0.9rem;
    font-style: italic;
}

.spec-name::before {
    content: "- ";
    color: #667eea;
}

.position-requirements {
    color: #b0b0b0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.position-requirements i {
    color: #ffd700;
}

/* POZÍCIÓ META (ROLE & PRIORITY) */
.position-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

/* ROLE BADGE */
.role-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.role-tank {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.role-badge.role-healer {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.role-badge.role-dps {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.role-icon {
    font-size: 1rem;
}

/* PRIORITY BADGE */
.priority-badge {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.priority-badge.priority-critical {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.priority-badge.priority-high {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.priority-badge.priority-medium {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.priority-badge.priority-low {
    background: rgba(123, 237, 159, 0.2);
    color: #7bed9f;
    border: 1px solid rgba(123, 237, 159, 0.3);
}

/* NINCS POZÍCIÓ ÁLLAPOT */
.no-positions {
    text-align: center;
    padding: 30px 20px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    margin-bottom: 25px;
}

.no-positions i {
    font-size: 3rem;
    color: #22c55e;
    margin-bottom: 15px;
}

.no-positions h4 {
    color: #22c55e;
    margin-bottom: 10px;
}

.no-positions p {
    color: #b0b0b0;
    margin: 0;
}

/* RAID INFO SZEKCIÓ */
.raid-info {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(118, 75, 162, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(118, 75, 162, 0.2);
}

.raid-info h4 {
    color: #764ba2;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.raid-schedule {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.schedule-item i {
    color: #667eea;
    width: 20px;
    text-align: center;
}

/* RECRUITMENT ACTION GOMBOK */
.recruitment-action {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.apply-btn, .discord-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.apply-btn {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.discord-btn {
    background: rgba(88, 101, 242, 0.2);
    color: #5865f2;
    border: 2px solid rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
    background: #5865f2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .position-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .position-meta {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    
    .recruitment-action {
        flex-direction: column;
    }
    
    .apply-btn, .discord-btn {
        flex: none;
    }
}

/* ANIMÁCIÓK */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.position-item {
    animation: slideInUp 0.5s ease forwards;
}

.position-item:nth-child(1) { animation-delay: 0.1s; }
.position-item:nth-child(2) { animation-delay: 0.2s; }
.position-item:nth-child(3) { animation-delay: 0.3s; }
.position-item:nth-child(4) { animation-delay: 0.4s; }
.position-item:nth-child(5) { animation-delay: 0.5s; }

/* RAID SCHEDULE NOTE */
.schedule-note {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.schedule-note i {
    color: #ffc107;
    margin-right: 8px;
}

/* GUILD MOTTO */
.guild-motto {
    background: rgba(108, 117, 125, 0.2);
    border-left: 3px solid #6c757d;
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #adb5bd;
}

.guild-motto i {
    color: #6c757d;
    margin-right: 8px;
    font-size: 0.8rem;
}