/* Estils per Login Opdavinci */

.login-opdavinci-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-opdavinci-form input[type="text"],
.login-opdavinci-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.login-opdavinci-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.login-opdavinci-form input[type="submit"]:hover {
    background: #005a87;
}

.login-opdavinci-error {
    color: #dc3232;
    margin-bottom: 15px;
    padding: 10px;
    background: #f5f5f5;
    border-left: 4px solid #dc3232;
}

/* Estils per al slider de verificació */
.opdavinci-slider-container {
    margin: 20px 0;
    padding: 15px 0;
}

.opdavinci-slider-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #fff;
}

.opdavinci-slider-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.opdavinci-slider-track {
    position: relative;
    width: 100%;
    height: 50px;
    background: #e5e5e5;
    border-radius: 25px;
    border: 2px solid #ddd;
    overflow: hidden;
    cursor: pointer;
}

.opdavinci-slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0073aa 0%, #00a0d2 100%);
    border-radius: 25px;
    transition: width 0.3s ease;
}

.opdavinci-slider-handle {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 46px;
    height: 46px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    cursor: grab;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.1s ease, background 0.3s ease;
    user-select: none;
}

.opdavinci-slider-handle:active {
    cursor: grabbing;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.opdavinci-slider-handle.completed {
    background: #46b450;
}

.slider-arrow {
    font-size: 20px;
    color: #0073aa;
    transition: color 0.3s ease;
}

.opdavinci-slider-handle.completed .slider-arrow {
    color: #fff;
    transform: rotate(0deg);
}

.opdavinci-slider-text {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #fff;
    transition: color 0.3s ease;
}

.opdavinci-slider-track.completed .opdavinci-slider-text {
    color: #fff;
    font-weight: 600;
}

.opdavinci-slider-track.completed .opdavinci-slider-text::after {
    content: ' ✓';
    color: #fff;
}

