﻿/* Estilos generales */
.drops-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    color: #e8d8a8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.drops-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .drops-header h2 {
        font-size: 2.5rem;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: #f0e6d2;
        margin-bottom: 1rem;
        text-shadow: 0 0 10px rgba(184, 152, 89, 0.7);
    }

.header-line {
    height: 2px;
    background: linear-gradient(to right, transparent, #b89859, #e8d8a8, #b89859, transparent);
    width: 60%;
    margin: 0 auto;
    opacity: 0.7;
}

/* Search container */
.search-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    gap: 1rem;
}

.search-input {
    width: 60%;
    padding: 0.8rem 1.2rem;
    border: 1px solid #4a4231;
    border-radius: 6px;
    background: rgba(20, 16, 8, 0.7);
    color: #f0e6d2;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

    .search-input:focus {
        border-color: #b89859;
        box-shadow: 0 0 10px rgba(184, 152, 89, 0.5);
    }

.search-button {
    padding: 0.8rem 1.8rem;
    background: linear-gradient(to bottom, #4a4231, #332d20);
    color: #f0e6d2;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

    .search-button:hover {
        background: linear-gradient(to bottom, #5a5231, #433d20);
        transform: translateY(-2px);
    }

/* Results container */
.results-container {
    margin-top: 2rem;
    text-align: center;
}

.item-name {
    display: block;
    font-size: 1.5rem;
    color: #b89859;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.item-image {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border: 1px solid #4a4231;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.results-panel {
    background: rgba(11, 8, 2, 0.85);
    border: 1px solid #4a4231;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.results-header {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: rgba(45, 40, 30, 0.6);
    border-bottom: 2px solid #b89859;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.header-item {
    flex: 2;
    text-align: left;
    padding-left: 1rem;
}

.header-monster {
    flex: 2;
    text-align: left;
}

.header-zone {
    flex: 1.5;
    text-align: left;
}

.header-drop {
    flex: 0.5;
    text-align: center;
}

/* Drop items */
.drop-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #332d20;
    transition: background-color 0.3s;
}

    .drop-item:nth-child(even) {
        background-color: rgba(45, 40, 30, 0.3);
    }

    .drop-item:hover {
        background-color: rgba(184, 152, 89, 0.1);
    }

.item-name-result {
    flex: 2;
    text-align: left;
    padding-left: 1rem;
    color: #b89859;
    font-weight: bold;
}

.monster-name {
    flex: 2;
    text-align: left;
    color: #f0e6d2;
}

.zone-name {
    flex: 1.5;
    text-align: left;
    color: #d1d1d1;
}

.drop-percent {
    flex: 0.5;
    text-align: center;
    color: #ffd700;
    font-weight: bold;
}

.no-results {
    display: block;
    padding: 2rem;
    color: #d1d1d1;
    font-style: italic;
    font-size: 1.1rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .drops-container {
        padding: 1.5rem;
    }

    .drops-header h2 {
        font-size: 2rem;
    }

    .search-container {
        flex-direction: column;
        align-items: center;
    }

    .search-input {
        width: 90%;
    }

    .search-button {
        width: 90%;
    }

    .results-header, .drop-item {
        flex-direction: column;
        text-align: center;
    }

    .header-item, .header-monster, .header-zone, .header-drop,
    .item-name-result, .monster-name, .zone-name, .drop-percent {
        text-align: center;
        padding: 0.3rem 0;
        width: 100%;
    }
}


/* Nuevo estilo para el cursor personalizado */
.search-container,
.search-container .search-button {
    cursor: url('/css/cursors/Cursor_Normal.cur'), auto;
}

/* Si deseas aplicarlo también a filas al pasar el mouse */
.drop-item:hover {
    background-color: #f0f0f0;
    cursor: url('/css/cursors/Cursor_Normal.cur'), auto;
}

/* Aplicar cursor personalizado al botón de búsqueda */
.search-button {
    cursor: url('/css/cursors/Cursor_Normal.cur'), auto;
}

    .search-button:hover {
        cursor: url('/css/cursors/Cursor_Normal.cur'), auto;
    }

.search-input {
    cursor: url('/css/cursors/Cursor_Normal.cur'), auto;
}

    .search-input:hover {
        cursor: url('/css/cursors/Cursor_Normal.cur'), auto;
    }