/* Ekipman Rehberi - guide.css */

/* Intro */
.intro-box {
    background: #1e1e1e;
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--class-color, #e74c3c);
}

.intro-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 0.3rem;
}

.intro-desc {
    font-size: 0.8rem;
    color: #666;
}

.intro-tags {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.4rem;
}

.intro-tag {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
}

.tag-green {
    background: rgba(39, 174, 96, 0.12);
    color: #27ae60;
}

.tag-orange {
    background: rgba(243, 156, 18, 0.12);
    color: #f39c12;
}

.tag-red {
    background: rgba(231, 76, 60, 0.12);
    color: #e74c3c;
}

/* Selector */
.selector-row {
    background: #1e1e1e;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.class-btn {
    padding: 0.35rem 0.7rem;
    background: #252525;
    border: 1px solid #2a2a2a;
    border-radius: 3px;
    color: #777;
    text-decoration: none;
    font-size: 0.78rem;
    transition: all 0.2s;
}

.class-btn:hover {
    background: #2a2a2a;
    color: #ccc;
}

.class-btn.active {
    border-color: var(--class-color);
    color: var(--class-color);
    background: rgba(var(--class-color-rgb), 0.08);
}

.level-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.level-box span {
    color: #555;
    font-size: 0.78rem;
}

.level-box input[type="range"] {
    width: 120px;
    height: 4px;
    -webkit-appearance: none;
    background: #2a2a2a;
    border-radius: 2px;
}

.level-box input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--class-color);
    border-radius: 50%;
    cursor: pointer;
}

.level-num {
    font-weight: 700;
    color: var(--class-color);
    min-width: 22px;
    font-size: 0.85rem;
}

/* Tiers */
.tier-section {
    margin-bottom: 1.5rem;
}

.tier-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.tier-label {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tier-beginner {
    background: #27ae60;
    color: #fff;
}

.tier-medium {
    background: #f39c12;
    color: #000;
}

.tier-best {
    background: #e74c3c;
    color: #fff;
}

.tier-desc {
    color: #444;
    font-size: 0.68rem;
}

/* Item Cards */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 8px;
}

.item-card {
    background: #202020;
    border-radius: 6px;
    padding: 12px;
    text-decoration: none;
    display: block;
    transition: background 0.15s;
    border: 1px solid #000000;
}

.item-card:hover {
    background: #282828;
}

.item-top {
    display: flex;
    gap: 10px;
    margin-bottom: 6px;
}

.item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

.item-icon-empty {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: #1a1a1a;
    border-radius: 4px;
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-slot {
    color: #555;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.item-name {
    color: #f1c40f;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 2px 0;
}

.item-level {
    color: #555;
    font-size: 0.65rem;
}

.item-source {
    font-size: 0.62rem;
    padding-top: 5px;
    margin-top: 5px;
    border-top: 1px solid #1a1a1a;
}

.src-npc {
    color: #27ae60;
}

.src-cube {
    color: #e67e22;
}

.src-drop {
    color: #9b59b6;
}

.src-box {
    color: #3498db;
}

.src-ozel {
    color: #f39c12;
}

.no-item {
    color: #333;
    text-align: center;
    padding: 16px 4px;
    font-size: 0.7rem;
}

/* Farm */
.farm-section {
    background: #1e1e1e;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    position: sticky;
    top: 80px;
}

.farm-title {
    font-size: 0.75rem;
    color: #2ecc71;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.farm-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.farm-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.farm-item {
    background: #252525;
    padding: 8px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    border: 1px solid #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.farm-item-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.farm-item .map {
    color: #3498db;
    font-weight: 500;
}

.farm-item .metin-count {
    color: #555;
    font-size: 0.6rem;
}

.farm-level {
    color: #f39c12;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Layout */
.guide-layout {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 1rem;
    align-items: start;
}

.guide-left {
    min-width: 0;
}

.guide-right {
    min-width: 0;
}

@media (max-width: 900px) {
    .guide-layout {
        grid-template-columns: 1fr;
    }
}
