:root {
    --btn-liveness-color: #5380b1;
}

#plLiveness {
    width: 100%;
    display: block;
}

#plLiveness button {
    float: none !important;
}

#plLiveness .container {
    max-width: 900px;
    margin-top: 30px;
    height: calc(100vh - 11rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

#plLiveness .panel {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: none;
}

#plLiveness .panel-heading {
    background: var(--btn-liveness-color);
    color: white !important;
    border-radius: 5px 5px 0 0;
    font-weight: 600;
    padding: 15px 20px;
    border: none;
}

#plLiveness .section-title {
    color: var(--btn-liveness-color);
    border-bottom: 2px solid var(--btn-liveness-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 22px;
}

#plLiveness .option-card {
    background: white;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    height: 100%;
}

#plLiveness .option-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

#plLiveness .option-card.active {
    border-color: var(--btn-liveness-color);
    background-color: #f0f5ff;
}

#plLiveness .option-icon {
    font-size: 48px;
    color: var(--btn-liveness-color);
    margin-bottom: 15px;
}

#plLiveness .option-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4a4a4a;
}

#plLiveness .option-description {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

#plLiveness .qrcode-container {
    text-align: center;
    padding: 20px;
    position: relative;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

#plLiveness .qrcode {
    width: 256px;
    height: 256px;
    margin: 0 auto;
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6c757d;
}

#plLiveness .expired-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    font-weight: bold;
    font-size: 22px;
    border-radius: 5px;
    display: none;
}

#plLiveness .expired-overlay .expired-alert {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#plLiveness .renew-icon {
    margin-top: 15px;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
}

#plLiveness .renew-icon:hover {
    transform: scale(1.2);
    color: var(--btn-liveness-color);
}

#plLiveness .timer {
    font-size: 22px;
    font-weight: bold;
    margin: 15px 0;
}

#plLiveness .steps-container {
    margin-top: 20px;
}

#plLiveness .step {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 5px;
    background-color: #f8f9fa;
    transition: all 0.3s;
}

#plLiveness .step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--btn-liveness-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
    font-size: 16px;
}

#plLiveness .step-text:last-child {
    padding-right: 28px;
}

#plLiveness .backdropLoader {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1000;
    display: none;
}

@media (max-width: 767px) {
    #plLiveness {
        height: 100%;
        margin-bottom: 130px;
    }

    #plLiveness .container {
        height: 100%;
    }
}