* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

button {
    padding: 10px 20px;
    margin: 8px;
    border: none;
    border-radius: 5px;
    background: #4CAF50;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #45a049;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

input {
    padding: 10px 15px;
    margin: 8px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    width: 300px;
}

input:focus {
    outline: none;
    border-color: #4CAF50;
}

h2 {
    margin: 20px 0 15px 0;
    color: #333;
    font-size: 22px;
}

#search-section, #results-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 15px 0;
}

#pokemon-results {
    margin-top: 15px;
}

#pokemon-results img {
    max-width: 200px;
    height: auto;
    margin: 10px 0;
    border-radius: 5px;
}

.pokemon-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
}

.detail-item {
    margin: 5px 0;
    font-size: 16px;
}

.detail-label {
    font-weight: bold;
    color: #555;
}

.detail-value {
    color: #333;
}

.status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
}

.status.success {
    background: #d4edda;
    color: #155724;
}

.status.error {
    background: #f8d7da;
    color: #721c24;
}

.status.info {
    background: #d1ecf1;
    color: #0c5460;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#search-section, #results-section {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    button, input {
        width: 100%;
        margin: 5px 0;
    }
    
    #search-section, #results-section {
        padding: 20px;
    }
}