.mpp-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;
}

.mpp-protected-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);
}

.mpp-protected-content-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mpp-protected-qr-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mpp-protected-qr-section img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mpp-protected-qr-image {
    display: none;
}

.mpp-protected-qr-image.show {
    display: block;
}

.mpp-protected-main-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.mpp-protected-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff6600;
    font-size: 18px;
    font-weight: 600;
}

.mpp-protected-title-row .mpp-protected-icon-lock {
    font-size: 24px;
}

.mpp-protected-hint-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0066cc;
    font-size: 16px;
}

.mpp-protected-hint-row .mpp-protected-icon-hint {
    font-size: 20px;
}

.mpp-protected-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mpp-protected-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;
}

.mpp-protected-password-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.mpp-protected-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;
}

.mpp-protected-submit-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.mpp-protected-submit-button:active {
    transform: translateY(0);
}

.mpp-protected-submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.mpp-protected-message {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.mpp-protected-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mpp-protected-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.mpp-protected-content {
    margin-top: 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border-left: none;
    box-shadow: none;
    width: 100%;
    text-align: left;
}

.mpp-protected-error {
    padding: 15px;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin: 20px 0;
}

.mpp-image {
    margin: 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
}

.mpp-image img {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    line-height: 0;
}

@media (max-width: 768px) {
    .mpp-protected {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .mpp-protected-badge {
        right: 10px;
    }
    
    .mpp-protected-content-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .mpp-protected-input-row {
        flex-direction: column;
        width: 100%;
    }
    
    .mpp-protected-password-input {
        width: 100%;
    }
    
    .mpp-protected-submit-button {
        width: 100%;
    }
}