/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.hostium-logo-img {

}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 300;
    color: #cccccc;
}

/* Contenedor de pruebas */
.test-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Tarjetas de prueba */
.test-card {
    background: #111111;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.1);
    border: 1px solid #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.test-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ff8800);
}

.test-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.2);
}

.test-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.test-header i {
    font-size: 2rem;
    color: #ff6600;
}

.test-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.test-content p {
    color: #cccccc;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Botones */
.test-btn {
    background: linear-gradient(135deg, #ff6600 0%, #ff8800 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.test-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}

.test-btn:disabled {
    background: #333333;
    cursor: not-allowed;
    transform: none;
}

.test-btn i {
    font-size: 0.9rem;
}

/* Selectores de archivo */
.file-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #333333;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
    background: #222222;
    color: #ffffff;
}

.file-select:focus {
    outline: none;
    border-color: #ff6600;
}

/* Barra de progreso */
.progress-container {
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #333333;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6600, #ff8800);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #cccccc;
}

/* Resultados */
.result {
    margin-top: 20px;
    padding: 20px;
    background: #222222;
    border-radius: 10px;
    border-left: 4px solid #ff6600;
}

.result.hidden {
    display: none;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.result-item:last-child {
    margin-bottom: 0;
}

.label {
    font-weight: 600;
    color: #cccccc;
}

.value {
    font-weight: 700;
    color: #ff6600;
    font-size: 1.1rem;
}

/* Resumen de resultados */
.results-summary {
    background: #111111;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.1);
    border: 1px solid #333333;
    margin-top: 30px;
}

.results-summary.hidden {
    display: none;
}

.results-summary h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.summary-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-item {
    text-align: center;
    padding: 20px;
    background: #222222;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-3px);
}

.summary-item i {
    font-size: 2rem;
    color: #ff6600;
    margin-bottom: 10px;
    display: block;
}

.summary-label {
    display: block;
    font-weight: 600;
    color: #cccccc;
    margin-bottom: 5px;
}

.summary-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff6600;
}

/* Botón compartir */
.share-btn {
    background: linear-gradient(135deg, #ff6600 0%, #ff8800 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    color: white;
}

.loading-overlay.hidden {
    display: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 102, 0, 0.3);
    border-top: 4px solid #ff6600;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #cccccc;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .test-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .test-card {
        padding: 20px;
    }
    
    .summary-content {
        grid-template-columns: 1fr;
    }
    
    .logo {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .test-header h2 {
        font-size: 1.3rem;
    }
} 