.ppc-protected {
    background: #eef3f7;
    border: 2px dashed #ff69b4;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.ppc-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #ffb6c1;
    color: #fff;
    padding: 6px 12px;
    border-radius: 0 0 12px 0;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(255, 182, 193, 0.3);
}

.ppc-content-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ppc-qr-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ppc-qr-section img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ppc-qr-image {
    display: none;
}

.ppc-qr-image.show {
    display: block;
}

.ppc-main-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.ppc-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff6600;
    font-size: 18px;
    font-weight: 600;
}

.ppc-title-row .ppc-icon-lock {
    font-size: 24px;
}

.ppc-hint-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0066cc;
    font-size: 16px;
}

.ppc-hint-row .ppc-icon-hint {
    font-size: 20px;
}

.ppc-hint-text {
    font-weight: 700;
    color: #004499;
}

.ppc-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ppc-password-input {
    width: 200px;
    height: 36px;
    padding: 0 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ppc-password-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ppc-submit-button {
    height: 36px;
    padding: 0 24px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.ppc-submit-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.ppc-submit-button:active {
    transform: translateY(0);
}

.ppc-submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.ppc-message {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.ppc-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ppc-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.ppc-content {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    text-align: left;
}

.ppc-error {
    padding: 15px;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin: 20px 0;
}

.ppc-qr-section.hidden,
.ppc-main-section.hidden {
    display: none;
}

.ppc-content-wrapper.hidden {
    display: none;
}

@media (max-width: 768px) {
    .ppc-protected {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .ppc-badge {
        right: 10px;
    }
    
    .ppc-content-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .ppc-input-row {
        flex-direction: column;
        width: 100%;
    }
    
    .ppc-password-input {
        width: 100%;
    }
    
    .ppc-submit-button {
        width: 100%;
    }
}