
/* Eliminamos los estilos de los elementos de brillo global */

:root {
    --main-bg-color: #181818;
    --header-bg-color: #222222;
    --border-color: #444;
    --selected-color: #333333;
    --text-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: var(--main-bg-color);
    color: var(--text-color);
    padding: 0;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Eliminamos .glow-overlay */

.container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.7);
    min-height: 100vh;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

header {
    background-color: var(--header-bg-color);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 3;
}

h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
}

@media (min-width: 768px) {
    .content {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        min-height: calc(100vh - 100px);
    }
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
}

.color-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.7);
}

.color-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.color-option.selected {
    background-color: var(--selected-color);
    border: 2px solid #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.color-sample {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    border: 1px solid #555;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.color-sample::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(3px);
}

.color-info {
    flex: 1;
    font-size: 18px;
}

.voltage-display {
    flex: 1;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
    backdrop-filter: blur(5px);
    /* Contenemos los efectos de luz dentro de la tarjeta */
    overflow: hidden;
}

.selected-color {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
}

.big-color-sample {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 30px;
    border: 3px solid #555;
    position: relative;
    overflow: hidden;
    /* Limitamos el brillo para que no se salga de la tarjeta */
    box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.big-color-sample::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(10px);
    transition: all 0.3s ease;
}

.voltage-info {
    text-align: center;
    width: 100%;
}

.voltage-info h2 {
    margin-bottom: 15px;
    font-size: 28px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.voltage-value {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.voltage-range {
    font-size: 20px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.brightness-control {
    margin-top: 30px;
    width: 100%;
}

.brightness-control label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.brightness-control input {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    outline: none;
}

.brightness-control input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

.brightness-control input::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
}

/* Eliminamos el efecto de brillo adicional para toda la pantalla */